[Numpy-discussion] matrix rank of numpy array or matrix

Nils Wagner nwagner@iam.uni-stuttgart...
Tue Feb 5 12:59:50 CST 2008

On Tue, 5 Feb 2008 10:54:01 -0800 (PST)
  mark <markbak@gmail.com> wrote:
> Hello -
> Is there a function to compute the matrix rank of a 
>numpy array or
> matrix?
> So I don't mean the current rank(), which gives the 
>number of
> dimensions.
> I mean the number of independent equations of a matrix.
> Thanks,
> Mark
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion@scipy.org
> http://projects.scipy.org/mailman/listinfo/numpy-discussion

AFAIK, a build-in function is (still) missing.
However you might use a singular value decomposition
to compute the numerical rank of a matrix.

See e.g.


More information about the Numpy-discussion mailing list