Trait simba::simd::SimdPartialOrd[][src]

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;
fn simd_horizontal_min(self) -> Self::Element;
fn simd_horizontal_max(self) -> Self::Element; }
Expand description

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

Required methods

Lanewise greater than > comparison.

Lanewise less than < comparison.

Lanewise greater or equal >= comparison.

Lanewise less or equal <= comparison.

Lanewise equal == comparison.

Lanewise not equal != comparison.

Lanewise max value.

Lanewise min value.

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

The min value among all lanes of self.

The max value among all lanes of self.

Implementors