1 #ifndef STAN_MATH_PRIM_SCAL_PROB_CHI_SQUARE_LOG_HPP 2 #define STAN_MATH_PRIM_SCAL_PROB_CHI_SQUARE_LOG_HPP 31 template <
bool propto,
32 typename T_y,
typename T_dof>
35 return chi_square_lpdf<propto, T_y, T_dof>(y, nu);
41 template <
typename T_y,
typename T_dof>
45 return chi_square_lpdf<T_y, T_dof>(y, nu);
boost::math::tools::promote_args< typename scalar_type< T1 >::type, typename scalar_type< T2 >::type, typename scalar_type< T3 >::type, typename scalar_type< T4 >::type, typename scalar_type< T5 >::type, typename scalar_type< T6 >::type >::type type
return_type< T_y, T_dof >::type 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.