NumberVector( B, v )
Let <v> = sum_{i=1}^n lambda_i b_i where
<B> = (b_1, b_2, ldots, b_n) is a basis of the vector space V over
the finite field F with |F| = q, and the lambda_i are elements
of F.
Let overline{lambda} be the integer corresponding to lambda as
defined by FFList FFList
.
Then NumberVector( B, v )
returns
sum_{i=1}^n overline{lambda_i} q^{i-1}.
gap> v:= GF(3)^3;; v.name:= "v";; gap> b:= CanonicalBasis( v );; gap> l:= List( [0 .. 6 ], x -> ElementRowSpace( b, x ) ); [ [ 0*Z(3), 0*Z(3), 0*Z(3) ], [ Z(3)^0, 0*Z(3), 0*Z(3) ], [ Z(3), 0*Z(3), 0*Z(3) ], [ 0*Z(3), Z(3)^0, 0*Z(3) ], [ Z(3)^0, Z(3)^0, 0*Z(3) ], [ Z(3), Z(3)^0, 0*Z(3) ], [ 0*Z(3), Z(3), 0*Z(3) ] ]
GAP 3.4.4