Automatic Differentiation
 
Loading...
Searching...
No Matches
chi_square_log.hpp
Go to the documentation of this file.
1#ifndef STAN_MATH_PRIM_PROB_CHI_SQUARE_LOG_HPP
2#define STAN_MATH_PRIM_PROB_CHI_SQUARE_LOG_HPP
3
6
7namespace stan {
8namespace math {
9
31template <bool propto, typename T_y, typename T_dof>
32return_type_t<T_y, T_dof> chi_square_log(const T_y& y, const T_dof& nu) {
33 return chi_square_lpdf<propto, T_y, T_dof>(y, nu);
34}
35
39template <typename T_y, typename T_dof>
40inline return_type_t<T_y, T_dof> chi_square_log(const T_y& y, const T_dof& nu) {
41 return chi_square_lpdf<T_y, T_dof>(y, nu);
42}
43
44} // namespace math
45} // namespace stan
46#endif
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 ...
Definition fvar.hpp:9