1#ifndef STAN_MATH_FWD_FUN_LOG_DETERMINANT_HPP
2#define STAN_MATH_FWD_FUN_LOG_DETERMINANT_HPP
15template <
typename EigMat, require_eigen_vt<is_fvar, EigMat>* =
nullptr>
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 > log_determinant(const EigMat &m)
Returns the log absolute determinant of the specified square matrix.
fvar< T > log(const fvar< T > &x)
value_type_t< EigMat > determinant(const EigMat &m)
fvar< T > fabs(const fvar< T > &x)
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...