Open andrjohns opened 3 years ago
This Math PR vectorises the RNGs and lpmfs of the ordered_logistic, categorical, and categorical_logit distrubtions.
ordered_logistic
categorical
categorical_logit
The following signatures were added:
ordered_logistic_rng(vector, vector)
ordered_logistic_rng(vector, vector[])
ordered_logistic_rng(real, vector[])
categorical_lpmf(int, vector[])
categorical_lpmf(int[], vector[])
categorical_rng(vector[])
categorical_logit_lpmf(int, vector[])
categorical_logit_lpmf(int[], vector[])
categorical_logit_rng(vector[])
I'll add these signatures once the PR goes through
The linked math PR never got merged -- still planning on it?
This Math PR vectorises the RNGs and lpmfs of the
ordered_logistic
,categorical
, andcategorical_logit
distrubtions.The following signatures were added:
ordered_logistic_rng(vector, vector)
ordered_logistic_rng(vector, vector[])
ordered_logistic_rng(real, vector[])
categorical_lpmf(int, vector[])
categorical_lpmf(int[], vector[])
categorical_rng(vector[])
categorical_logit_lpmf(int, vector[])
categorical_logit_lpmf(int[], vector[])
categorical_logit_rng(vector[])
I'll add these signatures once the PR goes through