Trait argmin_math::ArgminMinMax

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

Minimum and Maximum of type T

Required Methods§

source

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

Select piecewise minimum

source

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

Select piecewise maximum

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl ArgminMinMax for f32

source§

fn min(x: &Self, y: &Self) -> f32

source§

fn max(x: &Self, y: &Self) -> f32

source§

impl ArgminMinMax for f64

source§

fn min(x: &Self, y: &Self) -> f64

source§

fn max(x: &Self, y: &Self) -> f64

source§

impl ArgminMinMax for i8

source§

fn min(x: &Self, y: &Self) -> i8

source§

fn max(x: &Self, y: &Self) -> i8

source§

impl ArgminMinMax for i16

source§

fn min(x: &Self, y: &Self) -> i16

source§

fn max(x: &Self, y: &Self) -> i16

source§

impl ArgminMinMax for i32

source§

fn min(x: &Self, y: &Self) -> i32

source§

fn max(x: &Self, y: &Self) -> i32

source§

impl ArgminMinMax for i64

source§

fn min(x: &Self, y: &Self) -> i64

source§

fn max(x: &Self, y: &Self) -> i64

source§

impl ArgminMinMax for u8

source§

fn min(x: &Self, y: &Self) -> u8

source§

fn max(x: &Self, y: &Self) -> u8

source§

impl ArgminMinMax for u16

source§

fn min(x: &Self, y: &Self) -> u16

source§

fn max(x: &Self, y: &Self) -> u16

source§

impl ArgminMinMax for u32

source§

fn min(x: &Self, y: &Self) -> u32

source§

fn max(x: &Self, y: &Self) -> u32

source§

impl ArgminMinMax for u64

source§

fn min(x: &Self, y: &Self) -> u64

source§

fn max(x: &Self, y: &Self) -> u64

source§

impl ArgminMinMax for Vec<f32>

source§

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

source§

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

source§

impl ArgminMinMax for Vec<f64>

source§

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

source§

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

source§

impl ArgminMinMax for Vec<i8>

source§

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

source§

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

source§

impl ArgminMinMax for Vec<i16>

source§

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

source§

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

source§

impl ArgminMinMax for Vec<i32>

source§

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

source§

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

source§

impl ArgminMinMax for Vec<i64>

source§

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

source§

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

source§

impl ArgminMinMax for Vec<u8>

source§

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

source§

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

source§

impl ArgminMinMax for Vec<u16>

source§

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

source§

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

source§

impl ArgminMinMax for Vec<u32>

source§

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

source§

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

source§

impl ArgminMinMax for Vec<u64>

source§

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

source§

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

source§

impl ArgminMinMax for Vec<Vec<f32>>

source§

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

source§

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

source§

impl ArgminMinMax for Vec<Vec<f64>>

source§

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

source§

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

source§

impl ArgminMinMax for Vec<Vec<i8>>

source§

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

source§

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

source§

impl ArgminMinMax for Vec<Vec<i16>>

source§

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

source§

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

source§

impl ArgminMinMax for Vec<Vec<i32>>

source§

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

source§

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

source§

impl ArgminMinMax for Vec<Vec<i64>>

source§

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

source§

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

source§

impl ArgminMinMax for Vec<Vec<u8>>

source§

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

source§

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

source§

impl ArgminMinMax for Vec<Vec<u16>>

source§

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

source§

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

source§

impl ArgminMinMax for Vec<Vec<u32>>

source§

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

source§

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

source§

impl ArgminMinMax for Vec<Vec<u64>>

source§

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

source§

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

source§

impl ArgminMinMax for Array1<f32>

source§

fn min(x: &Self, y: &Self) -> Array1<f32>

source§

fn max(x: &Self, y: &Self) -> Array1<f32>

source§

impl ArgminMinMax for Array1<f64>

source§

fn min(x: &Self, y: &Self) -> Array1<f64>

source§

fn max(x: &Self, y: &Self) -> Array1<f64>

source§

impl ArgminMinMax for Array1<i8>

source§

fn min(x: &Self, y: &Self) -> Array1<i8>

source§

fn max(x: &Self, y: &Self) -> Array1<i8>

source§

impl ArgminMinMax for Array1<i16>

source§

fn min(x: &Self, y: &Self) -> Array1<i16>

source§

fn max(x: &Self, y: &Self) -> Array1<i16>

source§

impl ArgminMinMax for Array1<i32>

source§

fn min(x: &Self, y: &Self) -> Array1<i32>

source§

fn max(x: &Self, y: &Self) -> Array1<i32>

source§

impl ArgminMinMax for Array1<i64>

source§

fn min(x: &Self, y: &Self) -> Array1<i64>

source§

fn max(x: &Self, y: &Self) -> Array1<i64>

source§

impl ArgminMinMax for Array1<u8>

source§

fn min(x: &Self, y: &Self) -> Array1<u8>

source§

fn max(x: &Self, y: &Self) -> Array1<u8>

source§

impl ArgminMinMax for Array1<u16>

source§

fn min(x: &Self, y: &Self) -> Array1<u16>

source§

fn max(x: &Self, y: &Self) -> Array1<u16>

source§

impl ArgminMinMax for Array1<u32>

source§

fn min(x: &Self, y: &Self) -> Array1<u32>

source§

fn max(x: &Self, y: &Self) -> Array1<u32>

source§

impl ArgminMinMax for Array1<u64>

source§

fn min(x: &Self, y: &Self) -> Array1<u64>

source§

fn max(x: &Self, y: &Self) -> Array1<u64>

source§

impl ArgminMinMax for Array2<f32>

source§

fn min(x: &Self, y: &Self) -> Array2<f32>

source§

fn max(x: &Self, y: &Self) -> Array2<f32>

source§

impl ArgminMinMax for Array2<f64>

source§

fn min(x: &Self, y: &Self) -> Array2<f64>

source§

fn max(x: &Self, y: &Self) -> Array2<f64>

source§

impl ArgminMinMax for Array2<i8>

source§

fn min(x: &Self, y: &Self) -> Array2<i8>

source§

fn max(x: &Self, y: &Self) -> Array2<i8>

source§

impl ArgminMinMax for Array2<i16>

source§

fn min(x: &Self, y: &Self) -> Array2<i16>

source§

fn max(x: &Self, y: &Self) -> Array2<i16>

source§

impl ArgminMinMax for Array2<i32>

source§

fn min(x: &Self, y: &Self) -> Array2<i32>

source§

fn max(x: &Self, y: &Self) -> Array2<i32>

source§

impl ArgminMinMax for Array2<i64>

source§

fn min(x: &Self, y: &Self) -> Array2<i64>

source§

fn max(x: &Self, y: &Self) -> Array2<i64>

source§

impl ArgminMinMax for Array2<u8>

source§

fn min(x: &Self, y: &Self) -> Array2<u8>

source§

fn max(x: &Self, y: &Self) -> Array2<u8>

source§

impl ArgminMinMax for Array2<u16>

source§

fn min(x: &Self, y: &Self) -> Array2<u16>

source§

fn max(x: &Self, y: &Self) -> Array2<u16>

source§

impl ArgminMinMax for Array2<u32>

source§

fn min(x: &Self, y: &Self) -> Array2<u32>

source§

fn max(x: &Self, y: &Self) -> Array2<u32>

source§

impl ArgminMinMax for Array2<u64>

source§

fn min(x: &Self, y: &Self) -> Array2<u64>

source§

fn max(x: &Self, y: &Self) -> Array2<u64>

source§

impl<N, R, C> ArgminMinMax for OMatrix<N, R, C>
where N: Scalar + Copy + ClosedMul + PartialOrd, R: Dim, C: Dim, DefaultAllocator: Allocator<N, R, C>,

source§

fn max(a: &OMatrix<N, R, C>, b: &OMatrix<N, R, C>) -> OMatrix<N, R, C>

source§

fn min(a: &OMatrix<N, R, C>, b: &OMatrix<N, R, C>) -> OMatrix<N, R, C>

Implementors§