![]() |
Stan Math Library
5.1.0
Automatic Differentiation
|
|
inline |
Returns the log PMF of the Yule-Simon distribution with shape parameter.
Given containers of matching sizes, returns the log sum of probabilities.
T_n | type of outcome variable |
T_alpha | type of shape parameter |
n | outcome variable |
alpha | shape parameter |
std::domain_error | if alpha fails to be positive |
std::invalid_argument | if container sizes mismatch |
Definition at line 36 of file yule_simon_lpmf.hpp.