1#ifndef STAN_MATH_PRIM_PROB_CHI_SQUARE_LOG_HPP
2#define STAN_MATH_PRIM_PROB_CHI_SQUARE_LOG_HPP
31template <
bool propto,
typename T_y,
typename T_dof>
33 return chi_square_lpdf<propto, T_y, T_dof>(y, nu);
39template <
typename T_y,
typename T_dof>
41 return chi_square_lpdf<T_y, T_dof>(y, nu);
return_type_t< T_y, T_dof > chi_square_log(const T_y &y, const T_dof &nu)
The log of a chi-squared density for y with the specified degrees of freedom parameter.
typename return_type< Ts... >::type return_type_t
Convenience type for the return type of the specified template parameters.
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...