33.10 Subspace

Subspace( V, gens )

returns the subspace of the row space V that is generated by the vectors in the list gens.

    gap> v:= GF(3)^2; v.name:= "v";;
    RowSpace( GF(3), [ [ Z(3)^0, 0*Z(3) ], [ 0*Z(3), Z(3)^0 ] ] )
    gap> s:= Subspace( v, [ [ 1, -1 ] *Z(3)^0 ] );
    Subspace( v, [ [ Z(3)^0, Z(3) ] ] ) 

Previous Up Top Next
Index

GAP 3.4.4
April 1997