cupy.linalg.cholesky¶
-
cupy.linalg.
cholesky
(a)[source]¶ Cholesky decomposition.
Decompose a given two-dimensional square matrix into
L * L.T
, whereL
is a lower-triangular matrix and.T
is a conjugate transpose operator.Parameters: a (cupy.ndarray) – The input matrix with dimension (N, N)
Returns: The lower-triangular matrix. Return type: cupy.ndarray Warning
This function calls one or more cuSOLVER routine(s) which may yield invalid results if input conditions are not met. To detect these invalid results, you can set the linalg configuration to a value that is not ignore in
cupyx.errstate()
orcupyx.seterr()
.See also