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

◆ is_pos_definite() [1/3]

template<typename EigMat , require_eigen_matrix_dynamic_t< EigMat > * = nullptr>
bool stan::math::is_pos_definite ( const EigMat &  y)
inline

Return true if the matrix is square or if the matrix has non-zero size, or if the matrix is symmetric, or if it is positive definite, or if no element is NaN.

Template Parameters
EigMatA type derived from EigenBase with dynamic rows and columns
Parameters
yMatrix to test
Returns
true if the matrix is square or if the matrix has non-0 size, or if the matrix is symmetric, or if it is positive definite, or if no element is NaN

Definition at line 27 of file is_pos_definite.hpp.