M2
M2 copied to clipboard
The primary source code repository for Macaulay2, a system for computing in commutative algebra, algebraic geometry and related fields.
Here's the output from the failing build (`AssociativeAlgebras::oppositeRing` example): ```m2 -- -*- M2-comint -*- hash: -1318199081 i1 : R = QQ[q]/ideal{q^4+q^3+q^2+q+1} o1 = R o1 : QuotientRing i2 : A...
The following code (note the return type is `ideal`, not `Ideal`!) gives an error during `installPackage`. Removing the doc node, or changing the return type to `Ideal` both work correctly....
I'm thinking of changing the include file header guards for files in the `e` directory to use `#pragma once`. This feature is not in the standard, but is implemented in...
Documentation includes examples which doesn't test the function socleDegrees
`dual` is a method with options, yet ``` options dual ``` returns null. This is confusing. Perhaps `options dual` in this case should return `true`? Similarly, if we write a...
In cases where one uses a ring with variable names which are letters, and another with variables names which are indexed variables (using the same letters), then we get warnings...
We need to find and fix this bug before the next release! ``` restart n = 5 R = ZZ/32003[x_0..x_(n-1),y_0..y_(n-1)]; Itrig = ideal apply(n, i->x_i^2+y_i^2-1); SegreI =minors(2,genericMatrix(R,n,2)) I=Itrig+SegreI; -- this...
One [example](https://github.com/Macaulay2/homebrew-tap/actions/runs/3465824882/jobs/5789005813#step:9:15916) seems to be failing when bottling M2 from the main branch for Ubuntu 22.04 when using brew's libffi: ```m2 -- making example results for "ForeignFunctionPointerType Function" ulimit -c...
Making on Arch gives the following error. ``` libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src/4ti2 -I/home/kss/M2/M2/include -I/home/kss/M2/M2/include -I/home/kss/M2/M2/usr-host/include -isystem /usr/include/libxml2 -DSING_NDEBUG -DOM_NDEBUG -DNDEBUG -I/usr/include/cddlib -I/usr/include/eigen3 -I/usr/include/python3.11 -I/usr/include -DBOOST_STACKTRACE_LINK -I./.. -D__STDC_LIMIT_MACROS...
`scarfChainComplex(MonomialIdeal)` in SimplicialComplexes suffers from a bug where it calls `#(mingens I)` which isn't going to work correctly because `#` on matrices doesn't return the size. it should probably either...