summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTyler Reddy <tyler.je.reddy@gmail.com>2019-12-23 17:34:17 -0700
committerGitHub <noreply@github.com>2019-12-23 17:34:17 -0700
commiteba2597383a6299ca58823ca8e12175bb87e40f7 (patch)
tree8f362a46d3311e20f8fd907160c9f943380ce85a
parent42bd6db6ecfdb0b91e5d08ff587ad9af6d5f42d4 (diff)
parent2d289f097b4e1762b01eddbebe4e613e942d2ef7 (diff)
downloadnumpy-eba2597383a6299ca58823ca8e12175bb87e40f7.tar.gz
Merge pull request #15153 from mirca/patch-2
DOC: update cholesky docstring regarding input checking
-rw-r--r--numpy/linalg/linalg.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/numpy/linalg/linalg.py b/numpy/linalg/linalg.py
index 3d2d17057..072670d5c 100644
--- a/numpy/linalg/linalg.py
+++ b/numpy/linalg/linalg.py
@@ -687,8 +687,10 @@ def cholesky(a):
Return the Cholesky decomposition, `L * L.H`, of the square matrix `a`,
where `L` is lower-triangular and .H is the conjugate transpose operator
(which is the ordinary transpose if `a` is real-valued). `a` must be
- Hermitian (symmetric if real-valued) and positive-definite. Only `L` is
- actually returned.
+ Hermitian (symmetric if real-valued) and positive-definite. No
+ checking is performed to verify whether `a` is Hermitian or not.
+ In addition, only the lower-triangular and diagonal elements of `a`
+ are used. Only `L` is actually returned.
Parameters
----------