base_field, degree, [sparse=False]) |
INPUT:: base_field -- Ring; a field degree -- int >= 0; the degree of the vector space (number of components of vectors). sparse -- bool; whether or not vectors are given a sparse representation (default: False)
ambient_space,
basis,
dimension,
echelonized_basis,
is_ambient
These methods are defined as follows:
) |
) |
sage: from sage.rings.rings import RationalField sage: V = VectorSpace(RationalField(), 2); V Full Vector space of degree 2 over Rational Field sage: V.basis() [(1 0), (0 1)]
) |
) |
sage: from sage.rings.rings import RationalField sage: V = VectorSpace(RationalField(), 2); V Full Vector space of degree 2 over Rational Field sage: V.basis() [(1 0), (0 1)]
) |
Instances of class VectorSpace_ambient also have the following special methods:
x) |
See About this document... for information on suggesting changes.