1 #ifndef STAN_MATH_PRIM_SCAL_PROB_NEG_BINOMIAL_2_LOG_HPP 2 #define STAN_MATH_PRIM_SCAL_PROB_NEG_BINOMIAL_2_LOG_HPP 13 template <
bool propto,
15 typename T_location,
typename T_precision>
19 const T_precision& phi) {
21 T_location, T_precision>(n, mu, phi);
27 template <
typename T_n,
28 typename T_location,
typename T_precision>
33 const T_precision& phi) {
34 return neg_binomial_2_lpmf<T_n, T_location, T_precision>(n, mu, phi);
return_type< T_location, T_precision >::type neg_binomial_2_lpmf(const T_n &n, const T_location &mu, const T_precision &phi)
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_location, T_precision >::type neg_binomial_2_log(const T_n &n, const T_location &mu, const T_precision &phi)