M2
M2 copied to clipboard
The primary source code repository for Macaulay2, a system for computing in commutative algebra, algebraic geometry and related fields.
There seems to be no way to make a link from an html file to an auxiliary file in a package that works both with `SeparateExec => false` and `SeparateExec...
I noticed that the `new of from ` syntax sometimes has unexpected consequences (I can understand why it happens, but maybe it shouldn't?) In particular, if M is a MutableMatrix...
i1 : S = kk[a]; i2 : Q = S / ideal "a2"; i3 : gin Q stdio:3:1:(3): error: no method found for applying ideal to: argument : OptionTable{AttemptCount =>...
This package ``` newPackage ("Foo", Headline => "foo", DebuggingMode => true) LieAlgebra = new Type of HashTable basis(ZZ,ZZ,LieAlgebra) := List => (x) -> opts -> {} export "LieAlgebra" beginDocumentation() document...
see https://groups.google.com/forum/#!topic/macaulay2/QowiaTEHIqo
The Core contains hasAttribute, getAttribute, and ReverseDictionary privately, which makes it inconvenient for a package write to implement a method for making expressions of a new type that implements the...
commit 4319f1ea8015c597e1f0b770bdb54b4411b665cd ``` commit 4319f1ea8015c597e1f0b770bdb54b4411b665cd Author: Daniel R. Grayson Date: Thu Dec 27 09:54:37 2018 -0800 make some include directories into system include directories ... so that the file in...
I am building macaulay2 on archlinux according to the following PKGBUILD: https://gist.github.com/kmarius/bf3c9344f90d8265a563a622507e1b2f#file-pkgbuild This boils down to ``` make ./configure --enable-download --prefix=/usr \ --libexecdir='${prefix}'/lib/Macaulay2 \ --enable-shared make -j1 make DESTDIR="${pkgdir}" install...
When I install the current master branch on our shared file system, regular users can not run M2 without write access to the lib/cache/ directories. None of the .db files...
The GF command seems to set the symbol "a" to some random value of the field created. For example, when I run the following block of code: `restart` `a` `GF(500009);`...