1 #ifndef STAN_MATH_PRIM_SCAL_PROB_NEG_BINOMIAL_2_LOG_LOG_HPP 2 #define STAN_MATH_PRIM_SCAL_PROB_NEG_BINOMIAL_2_LOG_LOG_HPP 13 template <
bool propto,
15 typename T_log_location,
typename T_precision>
18 const T_log_location& eta,
19 const T_precision& phi) {
21 T_log_location, T_precision>(n, eta, phi);
27 template <
typename T_n,
28 typename T_log_location,
typename T_precision>
32 const T_log_location& eta,
33 const T_precision& phi) {
35 T_log_location, T_precision>(n, eta, phi);
return_type< T_log_location, T_precision >::type neg_binomial_2_log_log(const T_n &n, const T_log_location &eta, 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_log_location, T_precision >::type neg_binomial_2_log_lpmf(const T_n &n, const T_log_location &eta, const T_precision &phi)