M2
M2 copied to clipboard
The primary source code repository for Macaulay2, a system for computing in commutative algebra, algebraic geometry and related fields.
We need to organize the linear algebra templates with mutable matrices better. e.g. how best to handle routines like the following: solve(A,b,x) We need general functions to cover cases that...
It appears that one can override methods implemented internally, but can't use them. ``` toList Matrix := M -> flatten entries M M = matrix{{1}} class M toList M stdio:4:1:(3):...
The methods for `minimalPresentation Module` and `minimalPresentation Ring` are oddly different with regard to caching the data. The latter should be changed to agree with the former, as far as...
It can happen that changes to code can result in examples running much slower, especially if answers that used to be cached no longer are, resulting in multiple slow computations...
What about something like the following scheme?: ``` kernelMap f : ker f --> source f cokernelMap f : target f --> cokernel f imageMap f : image f -->...
If we know that the kernel of a ring map is generated in degree d, then we should be able to tell M2 that info. This issue is from the...
currently in case of an unhandled throw command, M2 shows ` error: unhandled throw command` proposal: show ` error: unhandled throw command (use catch)` and maybe at user level also...
For a symbol `k` as a key in a HashTable `x` there is the shortcut `x.k -- the same as x#(global k)` However, since the result of `(global k)` may...
Is it currently possible to geto rshow the back trace in case of a thrown exception ? (`throw "exception"`) If not, I find that could be useful for debugging.
See `man editline` for details. We should modify our configure script to detect its presence and use it, rather than building libreadline ourselves, or depending on brew to install readline...