diff options
author | User <bnewbold@daemon.robocracy.org> | 2009-10-13 02:52:09 +0000 |
---|---|---|
committer | User <bnewbold@daemon.robocracy.org> | 2009-10-13 02:52:09 +0000 |
commit | f61026119df4700f69eb73e95620bc5928ca0fcb (patch) | |
tree | f17127cff9fec40f4207d9fa449b9692644ce6db /software/sagemath.page | |
parent | 9d431740a3e6a7caa09a57504856b5d1a4710a14 (diff) | |
download | knowledge-f61026119df4700f69eb73e95620bc5928ca0fcb.tar.gz knowledge-f61026119df4700f69eb73e95620bc5928ca0fcb.zip |
Grand rename for gitit transfer
Diffstat (limited to 'software/sagemath.page')
-rw-r--r-- | software/sagemath.page | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/software/sagemath.page b/software/sagemath.page new file mode 100644 index 0000000..f01883f --- /dev/null +++ b/software/sagemath.page @@ -0,0 +1,23 @@ +================== +SAGE Math Package +================== + +.. warning:: Under progress! + +This is a reference for the `sage <http://sagemath.org>`_ math package. + +Web Notebooks +----------------------------- +To start run ``notebook()`` from an interactive shell; passing a directory as an argument will store files there. Also try``sage_wiki()``! + +To get help on a ``cmd`` type ``cmd?`` in an cell and press the Escape key. + +Interactive Shell +----------------------------- +Instead of the usual python ``**`` you can use ``^`` like the rest of the world, at least from the notebook and shell; use the old operator in scripts? + +Prefacing with ``time`` gives processor time statistics; you can wrap a series of commands with ``t = cputime()`` and ``cputime(t)`` to get the sum of time statistics; ``walltime`` works similarly. + +The general trick for saving text representations of objects is to open a file dscriptor and write the ``str`` of the object to it. + +``save_session`` and ``load_session`` save all objects in the session to a ``.sobj`` file. |