Stan Math Library
4.9.0
Automatic Differentiation
|
|
inline |
Returns the lower-triangular Cholesky factor (i.e., matrix square root) of the specified square, symmetric reverse mode 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 26 of file cholesky_decompose.hpp.