M2
M2 copied to clipboard
The primary source code repository for Macaulay2, a system for computing in commutative algebra, algebraic geometry and related fields.
We need to better document the split of Dmodules into three packages (Dmodules, HolonomicSystems, BernsteinSato). Perhaps also: make Dmodules into BasicDmodules and then have Dmodules load all three packages that...
This extra cache table should not be there: ```m2 Macaulay2, version 1.16.0.2 with packages: Colon, ConwayPolynomials, Elimination, IntegralClosure, InverseSystems, LLLBases, MinimalPrimes, PrimaryDecomposition, ReesAlgebra, TangentCone, Truncations i1 : M = ZZ^2;...
I think this error message should suggest that `sub(ideal x, S)` works: ```m2 i1 : S = QQ[x,y]; i2 : R = S/(x^2*y^2); i3 : S ** ideal x; stdio:3:3:(3):...
@mahrud @christineBerkesch The breaking changes in the D-modules package make it very hard for people using the previous D-modules package to use 1.22. Is there a way we can fix...
(I vaguely recall a related issue, but I couldn't find it. Let me know if this is duplicate) It seems like there are a lot of procedures that cause M2...
I'm surprised that this doesn't work: ```m2 i8 : eigenvalues random((ZZ/3)^2, (ZZ/3)^2) stdio:8:1:(3): error: expected matrix of numbers ``` (Also the error message is bizarre.)
Core methods involving lists could use some auditing, because some are not optimal at all. Here is an example: ```m2 Macaulay2/Core/lists.m2:103:45-103:89: --source code: all(BasicList,BasicList,Function) := (x,y,p) -> not any(apply(x,y,identity), ij...
``` $(eval check-$i:; \ if ! grep "CacheExampleOutput => true" @srcdir@/$i.m2 >/dev/null ;\ then @pre_bindir@/M2 -q $(STOP) -e "needsPackage(\"$i\",LoadDocumentation=>true,DebuggingMode=>true); check($i,UserMode=>false); exit 0" ;\ fi )) ``` Instead, `check` should take...
The following crashes Macaulay2. ``` gbTrace=3 -- 1 and 2 work fine! >= 3 seem to crash kk = ZZ/32003; S = kk[a..d]; I = ideal(b^2-a*c, b*c - a*d, c^2-b*d)...
Each of the first two sequences of commands work fine: M = matrix {{1},{0}} N = matrix {{0},{1}} M // N M = sub(matrix {{1},{0}}, QQ) N = sub(matrix {{0},{1}},...