Skip to content

Vectorise Dirichlet distribution #1362

@andrjohns

Description

@andrjohns

Description

Requested by a user on the forums

Add broadcasting to the dirichlet distribution, so that the following are valid:

std::vector<VectorXd> ~ dirichlet(VectorXd)
std::vector<VectorXd> ~ dirichlet(std::vector<VectorXd>)

This should simplify the declaration for users, so that there's no need to loop over each individual vector in the array

Current Version:

v2.20.0

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions