1 | initial version |
You can apply the integer_representation
method to each entry of the matrix:
sage: C.generator_matrix().apply_map(lambda w: w.integer_representation(), R=ZZ)
[ 1 1 1 1 1 1 1 1 1]
[ 1 54 18 14 51 17 15 5 3]
[ 1 18 51 15 3 54 14 17 5]
[ 1 14 15 1 14 15 1 14 15]
2 | No.2 Revision |
You can apply the integer_representation
method to each entry of the matrix:
sage: C.generator_matrix().apply_map(lambda w: w.integer_representation(), R=ZZ)
[ 1 1 1 1 1 1 1 1 1]
[ 1 54 18 14 51 17 15 5 3]
[ 1 18 51 15 3 54 14 17 5]
[ 1 14 15 1 14 15 1 14 15]
Note that the result depends on the choice of modulus for the finite field.