Trait argmin::core::ArgminRandom[][src]

pub trait ArgminRandom {
    fn rand_from_range(min: &Self, max: &Self) -> Self;
}
Expand description

Create a random number

Required methods

fn rand_from_range(min: &Self, max: &Self) -> Self[src]

Get a random element between min and max,

Implementations on Foreign Types

impl<T> ArgminRandom for Vec<T> where
    T: SampleUniform + PartialOrd + Clone
[src]

fn rand_from_range(min: &Self, max: &Self) -> Vec<T>[src]

Implementors