Stan Math Library
4.9.0
Automatic Differentiation
|
|
inline |
Return the lower-triangular Cholesky factor (i.e., matrix square root) of the specified square, symmetric matrix.
The return value \(L\) will be a lower-triangular matrix such that the original matrix \(A\) is given by
\(A = L \times L^EigMat\).
EigMat | type of the matrix (must be derived from Eigen::MatrixBase ) |
m | Symmetric matrix. |
cholesky_decompose
functions. One that works on doubles and another that works on all other types (this one). 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 33 of file cholesky_decompose.hpp.