The VectorSpace
command creates a vector space class,
from which one can create a subspace. Note the basis computed
by Sage is ``row reduced''.
sage: V = VectorSpace(GF(2),8) sage: S = V.subspace([V([1,1,0,0,0,0,0,0]),V([1,0,0,0,0,1,1,0])]) sage: S.basis() [ (1, 0, 0, 0, 0, 1, 1, 0), (0, 1, 0, 0, 0, 1, 1, 0) ] sage: S.dimension() 2
See About this document... for information on suggesting changes.