Trait rin::math::SimdPartialOrd[][src]

pub trait SimdPartialOrd: SimdValue {
    pub fn simd_gt(self, other: Self) -> Self::SimdBool;
pub fn simd_lt(self, other: Self) -> Self::SimdBool;
pub fn simd_ge(self, other: Self) -> Self::SimdBool;
pub fn simd_le(self, other: Self) -> Self::SimdBool;
pub fn simd_eq(self, other: Self) -> Self::SimdBool;
pub fn simd_ne(self, other: Self) -> Self::SimdBool;
pub fn simd_max(self, other: Self) -> Self;
pub fn simd_min(self, other: Self) -> Self;
pub fn simd_clamp(self, min: Self, max: Self) -> Self;
pub fn simd_horizontal_min(self) -> Self::Element;
pub fn simd_horizontal_max(self) -> Self::Element; }

Lane-wise generalization of the standard PartialOrd for SIMD values.

Required methods

pub fn simd_gt(self, other: Self) -> Self::SimdBool[src]

Lanewise greater than > comparison.

pub fn simd_lt(self, other: Self) -> Self::SimdBool[src]

Lanewise less than < comparison.

pub fn simd_ge(self, other: Self) -> Self::SimdBool[src]

Lanewise greater or equal >= comparison.

pub fn simd_le(self, other: Self) -> Self::SimdBool[src]

Lanewise less or equal <= comparison.

pub fn simd_eq(self, other: Self) -> Self::SimdBool[src]

Lanewise equal == comparison.

pub fn simd_ne(self, other: Self) -> Self::SimdBool[src]

Lanewise not equal != comparison.

pub fn simd_max(self, other: Self) -> Self[src]

Lanewise max value.

pub fn simd_min(self, other: Self) -> Self[src]

Lanewise min value.

pub fn simd_clamp(self, min: Self, max: Self) -> Self[src]

Clamps each lane of self between the corresponding lane of min and max.

pub fn simd_horizontal_min(self) -> Self::Element[src]

The min value among all lanes of self.

pub fn simd_horizontal_max(self) -> Self::Element[src]

The max value among all lanes of self.

Loading content...

Implementors

impl SimdPartialOrd for AutoSimd<[f32; 2]>[src]

impl SimdPartialOrd for AutoSimd<[f32; 4]>[src]

impl SimdPartialOrd for AutoSimd<[f32; 8]>[src]

impl SimdPartialOrd for AutoSimd<[f32; 16]>[src]

impl SimdPartialOrd for AutoSimd<[f64; 2]>[src]

impl SimdPartialOrd for AutoSimd<[f64; 4]>[src]

impl SimdPartialOrd for AutoSimd<[f64; 8]>[src]

impl SimdPartialOrd for AutoSimd<[i8; 2]>[src]

impl SimdPartialOrd for AutoSimd<[i8; 4]>[src]

impl SimdPartialOrd for AutoSimd<[i8; 8]>[src]

impl SimdPartialOrd for AutoSimd<[i8; 16]>[src]

impl SimdPartialOrd for AutoSimd<[i8; 32]>[src]

impl SimdPartialOrd for AutoSimd<[i16; 2]>[src]

impl SimdPartialOrd for AutoSimd<[i16; 4]>[src]

impl SimdPartialOrd for AutoSimd<[i16; 8]>[src]

impl SimdPartialOrd for AutoSimd<[i16; 16]>[src]

impl SimdPartialOrd for AutoSimd<[i16; 32]>[src]

impl SimdPartialOrd for AutoSimd<[i32; 2]>[src]

impl SimdPartialOrd for AutoSimd<[i32; 4]>[src]

impl SimdPartialOrd for AutoSimd<[i32; 8]>[src]

impl SimdPartialOrd for AutoSimd<[i32; 16]>[src]

impl SimdPartialOrd for AutoSimd<[i64; 2]>[src]

impl SimdPartialOrd for AutoSimd<[i64; 4]>[src]

impl SimdPartialOrd for AutoSimd<[i64; 8]>[src]

impl SimdPartialOrd for AutoSimd<[i128; 1]>[src]

impl SimdPartialOrd for AutoSimd<[i128; 2]>[src]

impl SimdPartialOrd for AutoSimd<[i128; 4]>[src]

impl SimdPartialOrd for AutoSimd<[isize; 2]>[src]

impl SimdPartialOrd for AutoSimd<[isize; 4]>[src]

impl SimdPartialOrd for AutoSimd<[isize; 8]>[src]

impl SimdPartialOrd for AutoSimd<[u8; 2]>[src]

impl SimdPartialOrd for AutoSimd<[u8; 4]>[src]

impl SimdPartialOrd for AutoSimd<[u8; 8]>[src]

impl SimdPartialOrd for AutoSimd<[u8; 16]>[src]

impl SimdPartialOrd for AutoSimd<[u8; 32]>[src]

impl SimdPartialOrd for AutoSimd<[u16; 2]>[src]

impl SimdPartialOrd for AutoSimd<[u16; 4]>[src]

impl SimdPartialOrd for AutoSimd<[u16; 8]>[src]

impl SimdPartialOrd for AutoSimd<[u16; 16]>[src]

impl SimdPartialOrd for AutoSimd<[u16; 32]>[src]

impl SimdPartialOrd for AutoSimd<[u32; 2]>[src]

impl SimdPartialOrd for AutoSimd<[u32; 4]>[src]

impl SimdPartialOrd for AutoSimd<[u32; 8]>[src]

impl SimdPartialOrd for AutoSimd<[u32; 16]>[src]

impl SimdPartialOrd for AutoSimd<[u64; 2]>[src]

impl SimdPartialOrd for AutoSimd<[u64; 4]>[src]

impl SimdPartialOrd for AutoSimd<[u64; 8]>[src]

impl SimdPartialOrd for AutoSimd<[u128; 1]>[src]

impl SimdPartialOrd for AutoSimd<[u128; 2]>[src]

impl SimdPartialOrd for AutoSimd<[u128; 4]>[src]

impl SimdPartialOrd for AutoSimd<[usize; 2]>[src]

impl SimdPartialOrd for AutoSimd<[usize; 4]>[src]

impl SimdPartialOrd for AutoSimd<[usize; 8]>[src]

impl<T> SimdPartialOrd for T where
    T: SimdValue<Element = T, SimdBool = bool> + PartialOrd<T>, 
[src]

Loading content...