Trait argmin::core::ArgminMinMax[][src]

pub trait ArgminMinMax {
    fn min(x: &Self, y: &Self) -> Self;
fn max(x: &Self, y: &Self) -> Self; }
Expand description

Minimum and Maximum of type T

Required methods

fn min(x: &Self, y: &Self) -> Self[src]

Select piecewise minimum

fn max(x: &Self, y: &Self) -> Self[src]

Select piecewise maximum

Implementations on Foreign Types

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

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

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

Implementors