Struct Dirichlet
randomkit::dist
pub struct Dirichlet { /* fields omitted */ }
Dirichlet distribution
impl Dirichlet
pub fn new(alpha: Vec<f64>) -> Result<Dirichlet, &'static str>
impl Sample<Vec<f64>> for Dirichlet
fn sample(&self, rng: &mut Rng) -> Vec<f64>
Generate a pseudorandom element of Support using rng as the source of randomness. Read more
Support
rng
impl Send for Dirichlet
impl Sync for Dirichlet