-
Notifications
You must be signed in to change notification settings - Fork 9
70 Things I wish I knew when I started using Macaulay2
Alejandro Vargas edited this page Jun 7, 2018
·
12 revisions
- I wish I had known about autocomplete feature in emacs sooner (M=meta): M -/
- I can use sub (substitute) to change the ring my polynomials live in
- peek [object], will give you the internal details of an object
- code methods [function], will show you the Macaulay2 code behind most functions and where you can find the code
- ``viewHelp x" brings up the HTML documentation for function/object/etc x.
- peek'_n will peek n levels deep
-
make check
checks everything and should be run before any pull request. -
toExternalString P
gives me a string constructingP
- That you can use " list / function " to apply a function to all the elements in a list.
- Use
last baseName
to get the index of a subscripted variable, e.g.last baseName x_{2,3}
is{2, 3}
. - That the command "restart" resets a session.