Gapplet
Given some vectors in (Z/pZ)n, determine the dimension of the subspace they generate.
| Input prime p, e.g., 7 |
||
| Input a matrix of vectors, e.g., [[1,2,3,4,5],[0,1,2,3,4]]. |
||
Compute the dimension k of the linear
space (code) spanned by the rows of the matrix |
||