1#ifndef STAN_MATH_PRIM_PROB_NEG_BINOMIAL_2_LOG_LOG_HPP
2#define STAN_MATH_PRIM_PROB_NEG_BINOMIAL_2_LOG_LOG_HPP
13template <
bool propto,
typename T_n,
typename T_log_location,
16 const T_n& n,
const T_log_location& eta,
const T_precision& phi) {
17 return neg_binomial_2_log_lpmf<propto, T_n, T_log_location, T_precision>(
24template <
typename T_n,
typename T_log_location,
typename T_precision>
26 const T_n& n,
const T_log_location& eta,
const T_precision& phi) {
27 return neg_binomial_2_log_lpmf<T_n, T_log_location, T_precision>(n, eta, phi);
return_type_t< T_log_location, T_precision > neg_binomial_2_log_log(const T_n &n, const T_log_location &eta, const T_precision &phi)
typename return_type< Ts... >::type return_type_t
Convenience type for the return type of the specified template parameters.
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...