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

◆ is_pos_definite() [2/3]

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

Return true if the matrix is positive definite.

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

Definition at line 56 of file is_pos_definite.hpp.