Stan Math Library
4.9.0
Automatic Differentiation
|
#include <stan/math/prim/fun/Eigen.hpp>
#include <stan/math/prim/meta.hpp>
#include <stan/math/prim/err/is_positive.hpp>
#include <stan/math/prim/err/is_not_nan.hpp>
#include <stan/math/prim/err/is_symmetric.hpp>
#include <stan/math/prim/err/constraint_tolerance.hpp>
#include <stan/math/prim/fun/to_ref.hpp>
#include <stan/math/prim/fun/value_of_rec.hpp>
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_eigen_matrix_dynamic_t< EigMat > * = nullptr> | |
bool | stan::math::is_pos_definite (const EigMat &y) |
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<typename Derived > | |
bool | stan::math::is_pos_definite (const Eigen::LDLT< Derived > &cholesky) |
Return true if the matrix is positive definite. | |
template<typename Derived > | |
bool | stan::math::is_pos_definite (const Eigen::LLT< Derived > &cholesky) |
Return true if diagonal of the L matrix is positive. | |