M2
M2 copied to clipboard
The primary source code repository for Macaulay2, a system for computing in commutative algebra, algebraic geometry and related fields.
so that they allow more general labels, as required by #2262
The [documentation](http://www2.macaulay2.com/Macaulay2/doc/Macaulay2/share/doc/Macaulay2/Macaulay2Doc/html/_shield.html) claims: > shield x -- executes the expression x, temporarily ignoring interrupts. Unless I'm misunderstanding the page, which doesn't include any examples, `shield` doesn't seem to be working:...
Say I want to see where `net Variety` is defined, so I use `locate`: ```m2 i5 : locate(net, Variety) o5 = (../../Macaulay2/m2/classes.m2, 90, 47, 90, 54, 90, 50) ``` But...
I am unable to run macaulay2 in debian. It gives the following error: /usr/bin/M2-binary: symbol lookup error: /usr/bin/M2-binary: undefined symbol: GC_abort_on_oom I tried the 1.17 that comes with debian stable....
It seems like the DegreeLift option for ring maps between multigraded rings doesn't preserve homogeneity, which I presume is the main point of it. ```m2 A = QQ[x,y, Degrees =>...
Basically, would be good to get this to work: ```m2 i1 : (a, b, c) = (1, 2, 3) o1 = (1, 2, 3) o1 : Sequence i2 : (a,...
Does anyone know what is going on here? Looking at the source code, there are some errors about a "homogenizing variable" but I can't find it documented anywhere. ```m2 i1...
I have a package that I am writing, and I get the following behavior when loading it. This package loads a number of other packages too. ``` i1 : needsPackage...
When declaring the method, `TypicalValue => Type` can be used to specify the return type of the output. Alternatively, when installing methods, one can specify the return type: ```m2 length...
Example of a problem with the `Graphs` package: ``` i1 : needsPackage "Graphs" o1 = Graphs o1 : Package i2 : G=graph{{a,1}}; i3 : H=graph{{b,2}}; i4 : cartesianProduct(G,H) stdio:4:1:(3): error:...