M2
M2 copied to clipboard
The primary source code repository for Macaulay2, a system for computing in commutative algebra, algebraic geometry and related fields.
Given two submodules M and N in a free module F, if I have elements m in M and n in N, what should m == n check? Currently, this...
This changes how two complexes are compared to be identical internally, without incurring any computational cost. The point is that these basic things didn't work before: (I added these as...
During configure, we raise an error if the input for --enable-download is "yes" but neither wget nor curl are available on the system. Now that the default for --enable-download is...
Unconditionally linking with quadmath, introduced in #2722, causes this linker error on this platform. ``` [macaulay2-1.25.06] [spkg-install] [417/420] Linking CXX executable usr-dist/aarch64-Linux--/bin/M2-binary [macaulay2-1.25.06] [spkg-install] FAILED: usr-dist/aarch64-Linux--/bin/M2-binary [macaulay2-1.25.06] [spkg-install] : &&...
This branch has two purposes: - allow any user to run Macaulay2 in Macaulay2Web in local mode (`npm start local`) or more importantly to use Macaulay2 in the newly developed...
Here's a bizarre observation: I tried to profile @pzinn's examples [here](https://github.com/Macaulay2/M2/issues/3843#issuecomment-2906328204), and got this: ```m2 o5 = #run %time position 5 233.8 ../linuxbrew/.linuxbrew/share/Macaulay2/LieTypes.m2:531:8-533:27 4 233.8 ../linuxbrew/.linuxbrew/share/Macaulay2/LieTypes.m2:533:13-533:27 3103 95.37 ../linuxbrew/.linuxbrew/Cellar/macaulay2/1.25.05/share/Macaulay2/Core/lists.m2:164:5-168:12 3146...
I ran into something that surprised me, but I'm not sure if it's a bug or what I expected was unreasonable or I'm misusing something. Say I start with a...
I closed my earlier issue because the issue is in using `===` for complexes, not truncation itself: ```m2 i1 : R = QQ[x]; i2 : complex R === complex R...
Otherwise, subsequent calls to `make` will fail. It's still removed by `make distclean`, which makes sense since it's generated by `configure` and not by `make`. This is the current behavior...
this is another (minor) fix of [#3574](https://github.com/Macaulay2/M2/pull/3574): the definition of `set Set` didn't work since `set` is defined at d level. Instead we let `set` be equivalent to `set @@...