summaryrefslogtreecommitdiff
path: root/numpy/linalg/linalg.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2021-10-25 15:19:50 -0600
committerGitHub <noreply@github.com>2021-10-25 15:19:50 -0600
commitf1fceeca76ec10c80c7eda30759e012f28b65541 (patch)
treedb5da39d10ce65fe6e1fd9334d35da573ef7ce64 /numpy/linalg/linalg.py
parent7624b4ef3560114424abccec8db90385465e9b42 (diff)
parentadea1d4fd4e1638f74bf1c8bc48b06992d569c7b (diff)
downloadnumpy-f1fceeca76ec10c80c7eda30759e012f28b65541.tar.gz
Merge pull request #20156 from melissawm/fix-cond-docs
DOC: Fixed docstring for parameters 2 and -2 on linalg.cond
Diffstat (limited to 'numpy/linalg/linalg.py')
-rw-r--r--numpy/linalg/linalg.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/linalg/linalg.py b/numpy/linalg/linalg.py
index d002a34d4..0c27e0631 100644
--- a/numpy/linalg/linalg.py
+++ b/numpy/linalg/linalg.py
@@ -1680,7 +1680,7 @@ def cond(x, p=None):
x : (..., M, N) array_like
The matrix whose condition number is sought.
p : {None, 1, -1, 2, -2, inf, -inf, 'fro'}, optional
- Order of the norm:
+ Order of the norm used in the condition number computation:
===== ============================
p norm for matrices
@@ -1695,7 +1695,7 @@ def cond(x, p=None):
-2 smallest singular value
===== ============================
- inf means the numpy.inf object, and the Frobenius norm is
+ inf means the `numpy.inf` object, and the Frobenius norm is
the root-of-sum-of-squares norm.
Returns