1#ifndef STAN_MATH_PRIM_ERR_IS_CHOLESKY_FACTOR_HPP
2#define STAN_MATH_PRIM_ERR_IS_CHOLESKY_FACTOR_HPP
28template <
typename EigMat, require_eigen_matrix_dynamic_t<EigMat>* =
nullptr>
30 const auto& y_ref =
to_ref(y);
bool is_lower_triangular(const EigMat &y)
Return true is matrix is lower triangular.
bool is_positive(const T_y &y)
Return true if y is positive.
ref_type_t< T && > to_ref(T &&a)
This evaluates expensive Eigen expressions.
bool is_less_or_equal(const T_y &y, const T_high &high)
Return true if y is less or equal to high.
bool is_cholesky_factor(const EigMat &y)
Return true if y is a valid Cholesky factor, if number of rows is not less than the number of columns...
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...