First create the three dimensional vector space
as
follows:
sage: V = VectorSpace(QQ,3) sage: V Vector space of dimension 3 over Rational Field
sage: V = QQ^3
Type the beginning of a command, then Ctrl-p
(or just hit the
up arrow key) to go back to each
line you have entered that begins in that way. This works even if
you completely exit Sage and restart later. You can also do a
reverse search through the history using Ctrl-r
. All these features use the
readline
package, which is available on most flavors of Linux.
It is easy to list all member functions for
using tab completion.
Just type
V.
, then type the [tab key]
key on your
keyboard:
sage: V.[tab key] V._VectorSpace_generic__base_field ... V.ambient_space V.base_field V.base_ring V.basis V.coordinates ... V.zero_vector
If you type the first few letters of a function, then [tab key]
,
you get only functions that begin as indicated.
sage: V.i[tab key] V.is_ambient V.is_dense V.is_full V.is_sparse
If you wonder what a particular function does, e.g., the
coordinates function, type V.coordinates?
for
help or V.coordinates??
for the source code,
as explained in the next section.
See About this document... for information on suggesting changes.