Automatic Differentiation
 
Loading...
Searching...
No Matches
neg_binomial_2_log_log.hpp
Go to the documentation of this file.
1#ifndef STAN_MATH_PRIM_PROB_NEG_BINOMIAL_2_LOG_LOG_HPP
2#define STAN_MATH_PRIM_PROB_NEG_BINOMIAL_2_LOG_LOG_HPP
3
6
7namespace stan {
8namespace math {
9
13template <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
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);
28}
29} // namespace math
30} // namespace stan
31#endif
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 ...
Definition fvar.hpp:9