statsmodels.tools.tools.rank

statsmodels.tools.tools.rank(X, cond=1e-12)[source]

Return the rank of a matrix X based on its generalized inverse, not the SVD.