1#ifndef STAN_MATH_PRIM_PROB_POISSON_LOG_LOG_HPP
2#define STAN_MATH_PRIM_PROB_POISSON_LOG_LOG_HPP
13template <
bool propto,
typename T_n,
typename T_log_rate>
15 const T_log_rate& alpha) {
16 return poisson_log_lpmf<propto, T_n, T_log_rate>(n, alpha);
22template <
typename T_n,
typename T_log_rate>
24 const T_log_rate& alpha) {
25 return poisson_log_lpmf<T_n, T_log_rate>(n, alpha);
return_type_t< T_log_rate > poisson_log_log(const T_n &n, const T_log_rate &alpha)
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 ...