Stan Math Library
5.0.0
Automatic Differentiation
|
return_type_t< T_log_rate_cl > stan::math::poisson_log_lpmf | ( | const T_n_cl & | n, |
const T_log_rate_cl & | alpha | ||
) |
Returns the log PMF of the Poisson log distribution.
If containers are supplied, returns the log sum of the probabilities.
T_n_cl | type of integer parameters |
T_log_rate_cl | type of chance of success parameters |
n | integer parameter |
alpha | log rate parameter |
std::domain_error | if alpha is not a valid probability |
std::invalid_argument | if container sizes mismatch. |
Definition at line 31 of file poisson_log_lpmf.hpp.