Compute the Cholesky decomposition of a matrix, to use in cho_solve
Returns a matrix containing the Cholesky decomposition, A = L L* or A = U* U of a Hermitian positive-definite matrix a. The return value can be directly used as the first parameter to cho_solve.
Warning
The returned matrix also contains random data in the entries not used by the Cholesky decomposition. If you need to zero these entries, use the function cholesky instead.
Parameters : | a : (M, M) array_like
lower : boolean
overwrite_a : boolean
check_finite : boolean, optional
|
---|---|
Returns : | c : (M, M) ndarray
lower : boolean
|
Raises : | LinAlgError :
|
See also