Stan Math Library  2.15.0
reverse mode automatic differentiation
scaled_inv_chi_square_log.hpp
Go to the documentation of this file.
1 #ifndef STAN_MATH_PRIM_SCAL_PROB_SCALED_INV_CHI_SQUARE_LOG_HPP
2 #define STAN_MATH_PRIM_SCAL_PROB_SCALED_INV_CHI_SQUARE_LOG_HPP
3 
6 
7 namespace stan {
8  namespace math {
9 
32  template <bool propto,
33  typename T_y, typename T_dof, typename T_scale>
35  scaled_inv_chi_square_log(const T_y& y, const T_dof& nu, const T_scale& s) {
36  return scaled_inv_chi_square_lpdf<propto, T_y, T_dof, T_scale>(y, nu, s);
37  }
38 
42  template <typename T_y, typename T_dof, typename T_scale>
43  inline
45  scaled_inv_chi_square_log(const T_y& y, const T_dof& nu, const T_scale& s) {
46  return scaled_inv_chi_square_lpdf<T_y, T_dof, T_scale>(y, nu, s);
47  }
48 
49  }
50 }
51 #endif
return_type< T_y, T_dof, T_scale >::type scaled_inv_chi_square_log(const T_y &y, const T_dof &nu, const T_scale &s)
The log of a scaled inverse chi-squared density for y with the specified degrees of freedom parameter...
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
Definition: return_type.hpp:27

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