On Wed, Apr 16, 2008 at 8:22 AM, Reckoner <[EMAIL PROTECTED]> wrote: > > In Mathematica, the previous results of the valuations are saved in > the Out[] variable. > > does SAGE do something similar? > > Thanks in advance.
On the command line, yes (see example below). In the notebook no, not at present. On the command line you can edit $HOME/.sage/ipython/ipythonrc to get exactly the same behavior with respect to history as Mathematica (i.e., the Out[ ] prompt and all), since the author of IPython (the sage command line) is also a big mathematica user. sage: 2 * 3 6 sage: _ 6 sage: n = 15; n^2 225 sage: _ 225 sage: _1 6 --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---
