Stan Math Library  2.20.0
reverse mode automatic differentiation
neg_binomial_2_log_log.hpp
Go to the documentation of this file.
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
3 
6 
7 namespace stan {
8 namespace math {
9 
13 template <bool propto, typename T_n, typename T_log_location,
14  typename T_precision>
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>(
18  n, eta, phi);
19 }
20 
24 template <typename T_n, typename T_log_location, typename T_precision>
26 neg_binomial_2_log_log(const T_n& n, const T_log_location& eta,
27  const T_precision& phi) {
28  return neg_binomial_2_log_lpmf<T_n, T_log_location, T_precision>(n, eta, phi);
29 }
30 } // namespace math
31 } // namespace stan
32 #endif
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< double, typename scalar_type< T >::type, typename return_type< Types_pack... >::type >::type type
Definition: return_type.hpp:36

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