Trait statrs::statistics::Min [] [src]

pub trait Min<T> {
    fn min(&self) -> T;
}

The Min trait specifies than an object has a minimum value

Required Methods

Returns the minimum value in the domain of a given distribution representable by a double-precision float. May panic depending on the implementor.

Examples

use statrs::statistics::Min;
use statrs::distribution::Uniform;

let n = Uniform::new(0.0, 1.0).unwrap();
assert_eq!(0.0, n.min());

Implementors