Stan Math Library  2.20.0
reverse mode automatic differentiation
inv_chi_square_log.hpp
Go to the documentation of this file.
1 #ifndef STAN_MATH_PRIM_SCAL_PROB_INV_CHI_SQUARE_LOG_HPP
2 #define STAN_MATH_PRIM_SCAL_PROB_INV_CHI_SQUARE_LOG_HPP
3 
6 
7 namespace stan {
8 namespace math {
9 
32 template <bool propto, typename T_y, typename T_dof>
34  const T_dof& nu) {
35  return inv_chi_square_lpdf<propto, T_y, T_dof>(y, nu);
36 }
37 
41 template <typename T_y, typename T_dof>
43  const T_y& y, const T_dof& nu) {
44  return inv_chi_square_lpdf<T_y, T_dof>(y, nu);
45 }
46 
47 } // namespace math
48 } // namespace stan
49 #endif
boost::math::tools::promote_args< double, typename scalar_type< T >::type, typename return_type< Types_pack... >::type >::type type
Definition: return_type.hpp:36
return_type< T_y, T_dof >::type inv_chi_square_log(const T_y &y, const T_dof &nu)
The log of an inverse chi-squared density for y with the specified degrees of freedom parameter...

     [ Stan Home Page ] © 2011–2018, Stan Development Team.