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

Nils Wagner nwagner at iam.uni-stuttgart.de
Tue Feb 5 13:59:50 EST 2008


On Tue, 5 Feb 2008 10:54:01 -0800 (PST)
  mark <markbak at 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 at 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.
http://osdir.com/ml/python.numeric.general/2006-02/msg00154.html


Nils




More information about the NumPy-Discussion mailing list