Automatic Differentiation
 
Loading...
Searching...
No Matches
check_pos_semidefinite.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  stan
 The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation from C or the boost::math::lgamma implementation.
 
namespace  stan::math
 Matrices and templated mathematical functions.
 

Functions

template<typename EigMat , require_matrix_t< EigMat > * = nullptr>
void stan::math::check_pos_semidefinite (const char *function, const char *name, const EigMat &y)
 Check if the specified matrix is positive definite.
 
template<typename Derived >
void stan::math::check_pos_semidefinite (const char *function, const char *name, const Eigen::LDLT< Derived > &cholesky)
 Check if the specified matrix is positive semidefinite.