Automatic Differentiation
 
Loading...
Searching...
No Matches
check_pos_definite.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_definite (const char *function, const char *name, const EigMat &y)
 Check if the specified square, symmetric matrix is positive definite.
 
template<typename Derived >
void stan::math::check_pos_definite (const char *function, const char *name, const Eigen::LDLT< Derived > &cholesky)
 Check if the specified LDLT decomposition of a matrix is positive definite.
 
template<typename Derived >
void stan::math::check_pos_definite (const char *function, const char *name, const Eigen::LLT< Derived > &cholesky)
 Check if the specified LLT decomposition was successful.