Skip to content

Implement Dirichlet(α) distribution#95

Open
jzeuzs wants to merge 5 commits intoAxect:devfrom
jzeuzs:implement-dirichlet
Open

Implement Dirichlet(α) distribution#95
jzeuzs wants to merge 5 commits intoAxect:devfrom
jzeuzs:implement-dirichlet

Conversation

@jzeuzs
Copy link
Copy Markdown

@jzeuzs jzeuzs commented Apr 19, 2026

This PR introduces support for multivariate distributions to peroxide, starting with the Dirichlet distribution.

A separate MVRNG trait was added specifically for N-dimensional random number generation and PDF evaluation. Sampling was implemented using independent Gamma variables.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants