[Numpy-discussion] Inversion of near singular matrices.

Stuart Brorson sdb at cloud9.net
Sat Jan 29 06:47:23 EST 2011


> So my question is: how can one reliably detect singularity (or
> near singularity) and raise an exception?

Matrix condition number:

http://docs.scipy.org/doc/numpy/reference/generated/numpy.linalg.cond.html
http://en.wikipedia.org/wiki/Condition_number

Stuart



More information about the NumPy-Discussion mailing list