[]Trait nalgebra::SimdPartialOrd

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

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

Required methods

fn simd_gt(self, other: Self) -> Self::SimdBool

Lanewise greater than > comparison.

fn simd_lt(self, other: Self) -> Self::SimdBool

Lanewise less than < comparison.

fn simd_ge(self, other: Self) -> Self::SimdBool

Lanewise greater or equal >= comparison.

fn simd_le(self, other: Self) -> Self::SimdBool

Lanewise less or equal <= comparison.

fn simd_eq(self, other: Self) -> Self::SimdBool

Lanewise equal == comparison.

fn simd_ne(self, other: Self) -> Self::SimdBool

Lanewise not equal != comparison.

fn simd_max(self, other: Self) -> Self

Lanewise max value.

fn simd_min(self, other: Self) -> Self

Lanewise min value.

fn simd_clamp(self, min: Self, max: Self) -> Self

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

Loading content...

Implementors

impl<T> SimdPartialOrd for T where
    T: SimdValue<SimdBool = bool> + PartialOrd<T>, 

Loading content...