M2
M2 copied to clipboard
The primary source code repository for Macaulay2, a system for computing in commutative algebra, algebraic geometry and related fields.
In discussions with Mike, it has occurred to us that it might be nice to introduce the syntax ```m2 X # key ?= foo ``` to denote an expression whose...
On a build in an i386 chroot, I get the following when running the `detectCongruence` example: ```M2 i7 : -- A general GM fourfold of discriminant 20 X = specialGushelMukaiFourfold("surface...
The d language already has a switch statement. Why doesn't top-level M2 support something similar? ```m2 when class x ( is ZZ do print "integer" is QQ do print "rational"...
I think this issue has been around for a while, but it might be time to take a look at it: ``` i1 : debug Core -- warning: symbol "topComponents"...
Hey there! I have encountered this weird thing with HashTables, which might be a bug. I'm running the latest version (1.19.1) but this is also true for 1.18. Lets define...
The recursion depth seems to jump by a pretty large chunk when using hooks: ```m2 i1 : fact1 = method(); i2 : addHook((fact1, ZZ), n -> 1); i3 : addHook((fact1,...
There should be a documentation page about base change. Also, this should probably work: ```m2 i1 : ZZ[a,b] ** QQ o1 = QQ[a..b] o1 : PolynomialRing i2 : ZZ/101[a,b] **...
From an [amd64 PPA build](https://launchpadlibrarian.net/572902367/buildlog_ubuntu-impish-amd64.macaulay2_1.19.1.1+git202112072115-0ppa202112032154~ubuntu21.10.1_BUILDING.txt.gz) of the development branch: ``` [----------] 5 tests from FreeAlgebra [ RUN ] FreeAlgebra.create Error: not divisible NCGroebnerTest.cpp:270: Failure Value of: false Actual: false Expected:...
`capture` seems to have a slow memory leak. Running the following loop on my system increases M2's memory usage by ~0.5MB/s seemingly indefinitely. (I ran it till M2 was using...
I got the following on PPA builds of the `development` branch in every Ubuntu release ([18.04](https://launchpadlibrarian.net/545736949/buildlog_ubuntu-bionic-s390x.macaulay2_1.18.0.1+git202106261928-0ppa202106241300~ubuntu18.04.1_BUILDING.txt.gz), [20.04](https://launchpadlibrarian.net/545737061/buildlog_ubuntu-focal-s390x.macaulay2_1.18.0.1+git202106261928-0ppa202106241300~ubuntu20.04.1_BUILDING.txt.gz), [20.10](https://launchpadlibrarian.net/545736796/buildlog_ubuntu-groovy-s390x.macaulay2_1.18.0.1+git202106261928-0ppa202106241300~ubuntu20.10.1_BUILDING.txt.gz), [21.04](https://launchpadlibrarian.net/545736948/buildlog_ubuntu-hirsute-s390x.macaulay2_1.18.0.1+git202106261928-0ppa202106241259~ubuntu21.04.1_BUILDING.txt.gz), and [21.10](https://launchpadlibrarian.net/545736981/buildlog_ubuntu-impish-s390x.macaulay2_1.18.0.1+git202106261928-0ppa202106241259~ubuntu21.10.1_BUILDING.txt.gz)) in s390x: ```m2 -- capturing example results for "randomKRationalPoint"...