M2
M2 copied to clipboard
The primary source code repository for Macaulay2, a system for computing in commutative algebra, algebraic geometry and related fields.
https://github.com/Macaulay2/M2/blob/86d6c70f8746e6b13d95c53ad20d880e0d60a8dc/M2/Macaulay2/m2/quotring.m2#L9-L12 It would make sense if, for instance, `isQuotientRing(QQ[x,y]/x)` returned false after flattening the ring, but as it is implemented it seems pointless and counter-intuitive: ```m2 i3 : isQuotientRing (ZZ/3)...
I don't understand why this happens: ```m2 needsPackage "Truncations" S = QQ[x,y,z] A = S^{1} B = truncate(0, A) M = image basis(0, A) -- image {-1} | x y...
I am learning Macaulay2 now. When I try to use the method "freeAlgebra(QQ,{x,y,z})" to create a free algebra as shown in the example of the documentation, where the example is...
found by @mahrud in the discussion of #1273 ``` i1 : debugLevel=101; R=QQ[x] o2 = R o2 : PolynomialRing i3 : smithNormalForm matrix{{x^3+1},{x^2+1}} -- count = 0 -- lead terms...
There's a link to a supposed "graded modules" documentation node in the `SeeAlso` of a couple other nodes: * [ `free modules`](https://macaulay2.com/doc/Macaulay2/share/doc/Macaulay2/Macaulay2Doc/html/_free_spmodules.html) * [`isHomogeneous`](https://macaulay2.com/doc/Macaulay2/share/doc/Macaulay2/Macaulay2Doc/html/_is__Homogeneous.html) But the `graded modules` node is...
edited: after M2internals discussion Normal (nonmutable) matrices are sparse, but creating large modules is an issue right now, making it impossible to create very large sparse matrices -- this is...
@jkyang92 I might have accepted that pull request too soon (#2989). The part below is failing under llvm 17.0.5. I *thought* it worked under 17.0.4... But now I'm not sure...
Hi, While doing a clean install for M2 version 1.22, cpu time was exceed for a particular example in `[258/258]` of the target `install-packages`. Please check https://github.com/Macaulay2/homebrew-tap/issues/197#. The example in...
I've been getting the following error with every single continuous integration test of the Macaulay2 package in Debian unstable, preventing it from migrating to testing: ```m2 1272s -- capturing check(26,...
I am trying to build from source on MacOS Monterey 12.2, and I get the following. Does anyone have any advice? ``` [76/273] Building CXX object Macaulay2/e/CMakeFiles/M2-engine.dir/matrix-symm.cpp.o FAILED: Macaulay2/e/CMakeFiles/M2-engine.dir/matrix-symm.cpp.o /usr/local/bin/ccache...