M2 icon indicating copy to clipboard operation
M2 copied to clipboard

The primary source code repository for Macaulay2, a system for computing in commutative algebra, algebraic geometry and related fields.

Results 538 M2 issues
Sort by recently updated
recently updated
newest added

The function `hash` seems to be broken for certain classes of objects: 1. MutableMatrix #997 2. MethodFunctionWithOptions ```m2 i44 : L = select(value \ values Core.Dictionary, x -> class x...

Given a polyhedral complex, the code ``` polyhedra(1,PC) ``` returns the vertices instead of the edges. For a concrete example, ``` PC = polyhedralComplex hypercube 3; polyhedra(1,PC) ``` returns ```...

Here's an experiment on 1.21: ```m2 i1 : C = toField(QQ[i]/(i^2+1)) o1 = C o1 : PolynomialRing i2 : R = C[x] o2 = R o2 : PolynomialRing ``` So...

Engine

Is this too early to submit bugs for `AssociativeAlgebras`? I have found quite a few. Here's one that's been bothering me. I tried to build the group algebra of the...

This issue is inspired by [this](https://math.stackexchange.com/questions/4250154/cayley-hamilton-in-macaulay2) Stack Exchange question that I randomly ran into. Would be great if the following worked: ```m2 S = QQ[t] m = random(ZZ^2, ZZ^2) f...

Linear Algebra

Please can you build and add packages for Debian 12 Bookworm. https://wiki.debian.org/DebianBookworm at https://faculty.math.illinois.edu/Macaulay2/Repositories/Debian/dists/index.html

Running ``` R=ZZ/2[x]; testFunction=M->( FR:=res M; return keys FR; ); testFunction R^1 ``` returns `{Resolution, dd, ring, cache}`, however ``` R=ZZ/2[x]; testFunction=M->( FR:=res M; print FR; return keys FR; );...

This would allow: - to have a formal definition of the language - to be able to automatically check all `.m2` files for correctness - maybe open the way for...

Is this intended? ```m2 i1 : R = QQ[x,y]; i2 : R^{-1,1} == R^{1,-1} o2 = false ``` The reason seems to be this line: https://github.com/Macaulay2/M2/blob/5572c8a245d187f6c22f8eaa0b03cac0b8d86e02/M2/Macaulay2/m2/modules.m2#L239 The `isIsomorphic` command works,...

This is related to https://groups.google.com/g/macaulay2/c/F1xyiJ_P9sc?pli=1 I also ran into this error recently. Debugging shows ``` 3436510 21:36:34 mmap(0x7f1582225000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (Cannot allocate memory) 23...