Go to the previous, next section.
A vector_space object can be constructed from a
fract_vector_list representing a list of basis vectors, or a
matrix. A constructor is also available to create an empty
vector_space -- the only argument it needs is the space dimension
of the vector space.
The method basis returns the fract_vector_list of basis
vectors that span the vector space. The method get_matrix
returns the matrix whose columns form the basis that spans the
vector space. The method space_dimension returns the space of
vector space. The related method dimensionality returns the
current number of basis vectors. This corresponds to the number of
dimensions spanned by the vector space. Equality, inequality and
assignment operators are also provided for vector spaces.
Go to the previous, next section.