summaryrefslogtreecommitdiff
path: root/numpy/linalg/linalg.py
diff options
context:
space:
mode:
authorZé Vinícius <jvmirca@gmail.com>2019-12-23 13:50:01 +0800
committerGitHub <noreply@github.com>2019-12-23 13:50:01 +0800
commit2d289f097b4e1762b01eddbebe4e613e942d2ef7 (patch)
tree13d95197a54c8deb4bff49a01db17e4366a11342 /numpy/linalg/linalg.py
parent0ed32251e0b67002a0f6da894db2080f4ecdd4e1 (diff)
downloadnumpy-2d289f097b4e1762b01eddbebe4e613e942d2ef7.tar.gz
DOC: update cholesky docstring regarding input checking
Diffstat (limited to 'numpy/linalg/linalg.py')
-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
----------