Trait probability::distribution::Modes[][src]

pub trait Modes: Distribution {
    fn modes(&self) -> Vec<Self::Value>;
}

A distribution capable of computing the modes.

The trait is applicable when the number of modes is finite.

Required methods

fn modes(&self) -> Vec<Self::Value>[src]

Compute the modes.

Loading content...

Implementors

impl Modes for Bernoulli[src]

impl Modes for Beta[src]

impl Modes for Binomial[src]

impl Modes for Categorical[src]

impl Modes for Exponential[src]

impl Modes for Gamma[src]

impl Modes for Gaussian[src]

impl Modes for Laplace[src]

impl Modes for Logistic[src]

impl Modes for Lognormal[src]

impl Modes for Pert[src]

impl Modes for Triangular[src]

Loading content...