M2
M2 copied to clipboard
The primary source code repository for Macaulay2, a system for computing in commutative algebra, algebraic geometry and related fields.
This is work in progress to make it so that all tests run without reported memory leaks from valgrind. So far the pull request contains the cases I understand how...
It is probably better to look for files to be loaded, which have a slash in the name, only in the current directory of the file being interpreted. This will...
I've been working on a package that uses [libffi](https://sourceware.org/libffi/) to allow calling C functions from top level (see #1310). It's still pretty rough, but basically works, so I figured I'd...
I use the code ```elisp (defconst M2-mode-font-lock-keywords ' ( "///\\(/?/?[^/]\\|\\(//\\)*////[^/]\\)*\\(//\\)*///" . 'font-lock-string-face) ) ``` to try to highlight strings delimited by /// ... ///, but the regular expression is so...
Hello, I am getting the following warnings while installing the package  They seem to appear because VariableBaseName is one of the optional inputs in a function of the...
one-line crash: ``` i1 : lift( matrix {{1.}}, ZZ) error!! lift called with no ZZ lifting method -- SIGSEGV -* stack trace, pid: 632942 0# std::vector::size() const at /usr/include/c++/11/bits/stl_vector.h:919 1#...
Here is an example: ```m2 A = kk[x_0..x_1, DegreeRank => 2] B = kk[a_0..a_1,y_0..y_1, DegreeRank => 4] f = map(B, A, {B_0, B_1}) degrees A^{{1,2}} -- {{-1, -2}} degrees B^{{1,2,0,0}}...
The method `reducedRowEchelonForm` does not put identically zero rows at the bottom (and thus is technically not even in row echelon form, cf. [here](https://en.wikipedia.org/wiki/Row_echelon_form)): ``` i1 : A = matrix{{0_(ZZ/2),0,0},{1,0,1},{0,1,1}}...
From a [PPA build of the development branch in Ubuntu 21.04 on armhf](https://launchpadlibrarian.net/520435349/buildlog_ubuntu-hirsute-armhf.macaulay2_1.17.2.1+git202101300204-0ppa202101300214~ubuntu21.04.1_BUILDING.txt.gz): ```m2 -- running check(30, "AssociativeAlgebras") ulimit -c unlimited; ulimit -t 700; ulimit -m 850000; ulimit -s 8192;...
cddplus
I wonder whether we still need to build and include cddplus. Is it being used anywhere by anybody for anything? @ggsmith -- you wanted this eventually -- do you still?