row_space: Row Space of a Matrix.

Description Usage Arguments Details Value See Also Examples

View source: R/homology_calculation.R

Description

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

1

Arguments

B

The matrix whose row space one wants to know.

Details

Calculates row space of a matrix via its hermite normal form.

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$.

See Also

hermiteNF

Examples

1
2
test_mat <- matrix(c(2,4,4, -6,6,12, 10,-4,-16), nrow=3, ncol=3, byrow=TRUE)
row_space(test_mat)

quhomology documentation built on May 1, 2019, 8:44 p.m.