Try entering 2+1.5 at your next input prompt, which begins with i (e.g. i2 : ).
The two output prompts begin with o.
Type one of these commands to get started reading the documentation:
copyright |
-- the copyright |
help "Macaulay2" |
-- top node of the documentation. |
help "reading the documentation" |
|
help "getting started" |
|
help "a first Macaulay2 session" |
|
help coker |
-- show documentation for coker |
help about Ext |
-- show documentation about Ext |
help about("Yoneda", Body=>true) |
-- show documentation mentioning "Yoneda" |
printWidth = 80 |
-- set print width to 80 characters |
viewHelp |
-- view documentation in a browser |
viewHelp coker |
-- view documentation for coker in browser |
? hilbertFunction |
-- display brief documentation about Hilbert functions |
To read the documentation in info form, in case you happen to be running Macaulay2 in a terminal window, replace help by infoHelp in any of the commands above.
To get BibTeX code for citing Macaulay2 or one of its packages, type one of the following commands.
cite |
-- how to cite Macaulay2 |
cite "FirstPackage" |
-- how to cite a package |
To get information about the startup of Macaulay2, type one of the following commands.
loadedPackages |
-- a list of the currently loaded packages |
help "packages provided with Macaulay2" |
-- a list of all the available packages |
help "initialization file" |
-- show documentation about the file init.m2 |
The source of this document is in Macaulay2Doc/functions/help-doc.m2:402:0.