This calculates the space spanned by the rows of a matrix, or, more precisely, a basis for it. This is done via calculation of the Hermite Normal Form of said matrix.
Usage
row_space(B)
Arguments
B
The matrix whose row space one wants to know.
Value
A Matrix, consisting of the basis of the space spanned by the rows, plus potentially rows of zeros, so the dimensions of this matrix are the same as of the matrix $B$.
Details
Calculates row space of a matrix via its hermite normal form.