1 #ifndef STAN_MATH_PRIM_SCAL_PROB_NEG_BINOMIAL_LOG_HPP 2 #define STAN_MATH_PRIM_SCAL_PROB_NEG_BINOMIAL_LOG_HPP 13 template <
bool propto,
15 typename T_shape,
typename T_inv_scale>
19 const T_inv_scale& beta) {
21 T_shape, T_inv_scale>(n, alpha, beta);
27 template <
typename T_n,
28 typename T_shape,
typename T_inv_scale>
33 const T_inv_scale& beta) {
34 return neg_binomial_lpmf<T_n, T_shape, T_inv_scale>(n, alpha, beta);
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_shape, T_inv_scale >::type neg_binomial_lpmf(const T_n &n, const T_shape &alpha, const T_inv_scale &beta)
return_type< T_shape, T_inv_scale >::type neg_binomial_log(const T_n &n, const T_shape &alpha, const T_inv_scale &beta)