summaryrefslogtreecommitdiffstats
path: root/software/sagemath
diff options
context:
space:
mode:
authorbryan newbold <bnewbold@snark.mit.edu>2008-07-29 03:36:07 -0400
committerbryan newbold <bnewbold@snark.mit.edu>2008-07-29 03:36:07 -0400
commit8c4e441050c3f4cce678bed4d3f112ba26800cb3 (patch)
treec626993d7083a28f42c67b8ecdabb11d9438e279 /software/sagemath
parentee2b54548a21ff05fe520b4b774a9b7ab7e13b39 (diff)
downloadknowledge-8c4e441050c3f4cce678bed4d3f112ba26800cb3.tar.gz
knowledge-8c4e441050c3f4cce678bed4d3f112ba26800cb3.zip
made software dir, added pynfs
Diffstat (limited to 'software/sagemath')
-rw-r--r--software/sagemath23
1 files changed, 23 insertions, 0 deletions
diff --git a/software/sagemath b/software/sagemath
new file mode 100644
index 0000000..f01883f
--- /dev/null
+++ b/software/sagemath
@@ -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.