Automatic Differentiation
 
Loading...
Searching...
No Matches
check_cov_matrix.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 Mat , require_matrix_t< Mat > * = nullptr>
void stan::math::check_cov_matrix (const char *function, const char *name, const Mat &y)
 Throw an exception if the specified matrix is not a valid covariance matrix.
 
template<typename StdVec , require_std_vector_t< StdVec > * = nullptr>
void stan::math::check_cov_matrix (const char *function, const char *name, const StdVec &y)
 Throw an exception if the specified matrix is not a valid covariance matrix.