M2
M2 copied to clipboard
The primary source code repository for Macaulay2, a system for computing in commutative algebra, algebraic geometry and related fields.
This is probably something about precision used while printing. ``` i3 : 2^53 o3 = 9007199254740992 i8 : (2^53-1) + 0. o8 = 9007199254740990 o8 : RR (of precision 53)...
I generally don't appreciate packages that run an external program upon being loaded (which also ends up happening when `Macaulay2Doc` is being installed, c.f. #3292). Perhaps `OptionalComponentsPresent` should be set...
This is a draft for now to see what breaks. Comments welcome. - **fixed newPackage to permit terminal null entries** - **moved 3 newPackage options to beginDocumentation** - **adjusted existing...
We should consider changing these files to not be in DOS mode: ```m2 $ grep -r $'\r' -l `find . | grep "\.m2$"` | grep -v build ./M2/submodules/frobby/scripts/hilbert.m2 ./M2/Macaulay2/packages/EigenSolver.m2 ./M2/Macaulay2/packages/GradedLieAlgebras/tut.m2...
This is somehow the first time I've ever had to deal with these two methods, so here are some thoughts about what I expected before reading the documentation: 1. `normaliz...
Consider the following example: ```m2 i1 : Foo = taskResult schedule(() -> new Type of HashTable) o1 = Foo o1 : Type i2 : youngest(Foo, Matrix) o2 = Matrix o2...
There are already existing open issues with `alarm`, this I think is a new one: ``` i1 : try (alarm 1; sleep 15;) else
In the documentation node [Tutorial: Divisors](https://www.macaulay2.com/doc/Macaulay2/share/doc/Macaulay2/Macaulay2Doc/html/___Tutorial_co_sp__Divisors.html), there's this code: ```m2 i54 : effective = (D) -> ( LB := globalSections D; L := LB#0; -- the matrix of numerators if...
I noticed sometimes the RREF returned by the `reducedRowEchelonForm` method is incorrect (at least certain over finite fields). In particular, the error seems to be that some of the rows...
Since the Style package has a Makefile created from its Makefile.in in its auxiliary files directory, "installPackage" was failing on it, because "copyDirectory" has a problem. Perhaps add an option...