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>

Compute the modes.

Implementors