VectorCodeword( obj [, n] [, F] )
VectorCodeword( obj, C )
VectorCodeword returns a vector or a list of vectors of elements of a
Galois field, converted from obj. The object obj can be a vector, a
string, a polynomial or a codeword. It may also be a list of those (even
a mixed list).
In fact, the object obj is treated the same as in the function
Codeword (see Codeword).
gap> a := Codeword("011011");; VectorCodeword(a);
[ 0*Z(2), Z(2)^0, Z(2)^0, 0*Z(2), Z(2)^0, Z(2)^0 ]
gap> VectorCodeword( [ 0, 1, 2, 1, 2, 1 ] );
[ 0*Z(3), Z(3)^0, Z(3), Z(3)^0, Z(3), Z(3)^0 ]
gap> VectorCodeword( [ 0, 0, 0, 0], GF(9) );
[ 0*Z(3), 0*Z(3), 0*Z(3), 0*Z(3) ]
GAP 3.4.4