Stan Math Library
5.0.0
Automatic Differentiation
|
Returns the lower-triangular Cholesky factor (i.e., matrix square root) of the specified square, symmetric matrix on the OpenCL device.
The return value \(L\) will be a lower-triangular matrix such that the original matrix \(A\) is given by
\(A = L \times L^T\).
A | Input square matrix |
std::domain_error | if m is not a symmetric matrix or if m is not positive definite (if m has more than 0 elements) |
Definition at line 25 of file cholesky_decompose.hpp.