From 2d289f097b4e1762b01eddbebe4e613e942d2ef7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Z=C3=A9=20Vin=C3=ADcius?= Date: Mon, 23 Dec 2019 13:50:01 +0800 Subject: DOC: update cholesky docstring regarding input checking --- numpy/linalg/linalg.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'numpy/linalg/linalg.py') 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 ---------- -- cgit v1.2.1