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

◆ is_pos_definite() [3/3]

template<typename Derived >
bool stan::math::is_pos_definite ( const Eigen::LLT< Derived > &  cholesky)
inline

Return true if diagonal of the L matrix is positive.

Template Parameters
DerivedDerived type of the Eigen::LLT transform, requires class method .info() and .matrixLLT().diagonal().array()
Parameters
choleskyEigen::LLT to test, whose progenitor must not have any NaN elements
Returns
true if diagonal of the L matrix is positive

Definition at line 71 of file is_pos_definite.hpp.