Compute the condition number of a matrix.
The condition number of x is the norm of x times the norm of the inverse of x. The norm can be the usual L2 (root-of-sum-of-squares) norm or a number of other matrix norms.
Parameters: | x : array_like, shape (M, N)
p : {None, 1, -1, 2, -2, inf, -inf, ‘fro’}
|
||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Returns: | c : float
|