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

Keith Goodman kwgoodman at gmail.com
Tue Feb 5 14:05:09 EST 2008


On Feb 5, 2008 10:54 AM, mark <markbak at gmail.com> wrote:
> Is there a function to compute the matrix rank of a numpy array or
> matrix?

I'm sure there's a more direct way, but numpy.linalg.lstsq returns the
rank of a matrix.



More information about the NumPy-Discussion mailing list