Stan Math Library
5.0.0
Automatic Differentiation
|
|
inline |
Check if the specified LDLT decomposition of a matrix is positive definite.
Derived | type of the Eigen::LDLT decomposition |
function | function name (for error messages) |
name | variable name (for error messages) |
cholesky | Eigen::LDLT to test, whose progenitor must not have any NaN elements |
std::domain_error | if the matrix is not positive definite |
Definition at line 63 of file check_pos_definite.hpp.