Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ is_ldlt_factor()

template<typename T >
bool stan::math::is_ldlt_factor ( LDLT_factor< T > &  A)
inline

Return true if the specified LDLT factor is invalid.

An LDLT_factor is invalid if it was constructed from a matrix that is not positive definite.

Template Parameters
TType matrix of LDLT
Parameters
AThe LDLT factor to check for validity
Returns
true if the LDLT factor is valid

Definition at line 21 of file is_ldlt_factor.hpp.