1#ifndef STAN_MATH_PRIM_FUN_DETERMINANT_HPP
2#define STAN_MATH_PRIM_FUN_DETERMINANT_HPP
20template <
typename T, require_eigen_vt<std::is_arithmetic, T>* =
nullptr>
23 return m.determinant();
typename value_type< T >::type value_type_t
Helper function for accessing underlying type.
void check_square(const char *function, const char *name, const T_y &y)
Check if the specified matrix is square.
value_type_t< EigMat > determinant(const EigMat &m)
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...