Computes the rank of a matrix. Outputs consistent results across various matrix types.

getRank(m, TOL = 1e-10)

Arguments

m

A matrix, m

TOL

tolerance for rank calculation

Value

The rank of the matrix m