Stan Math Library
5.0.0
Automatic Differentiation
|
|
inline |
Raise domain error if the specified LDLT factor is invalid.
An LDLT_factor
is invalid if it was constructed from a matrix that is not positive definite.
T | Type matrix of LDLT |
[in] | function | name of function for error messages |
[in] | name | variable name for error messages |
[in] | A | the LDLT factor to check for validity |
<code>std::domain_error</code> | if the LDLT factor is invalid |
Definition at line 25 of file check_ldlt_factor.hpp.