Trait heron::rapier_plugin::rapier::ncollide::simba::simd::SimdSigned [−]
A lane-wise generalization of num::Signed
for SIMD values.
Required methods
pub fn simd_abs(&self) -> Self
The absolute value of each lane of self
.
pub fn simd_abs_sub(&self, other: &Self) -> Self
The absolute difference of each lane of self
.
For each lane, this zero if the lane of self is less than or equal to the corresponding lane of other otherwise the difference between the lane of self and the lane of other is returned.
pub fn simd_signum(&self) -> Self
The signum of each lane of Self
.
pub fn is_simd_positive(&self) -> Self::SimdBool
Tests which lane is positive.
pub fn is_simd_negative(&self) -> Self::SimdBool
Tests which lane is negative.
Implementors
impl SimdSigned for AutoSimd<[f32; 2]>
pub fn simd_abs(&self) -> AutoSimd<[f32; 2]>
pub fn simd_abs_sub(&self, other: &AutoSimd<[f32; 2]>) -> AutoSimd<[f32; 2]>
pub fn simd_signum(&self) -> AutoSimd<[f32; 2]>
pub fn is_simd_positive(&self) -> <AutoSimd<[f32; 2]> as SimdValue>::SimdBool
pub fn is_simd_negative(&self) -> <AutoSimd<[f32; 2]> as SimdValue>::SimdBool
impl SimdSigned for AutoSimd<[f32; 4]>
pub fn simd_abs(&self) -> AutoSimd<[f32; 4]>
pub fn simd_abs_sub(&self, other: &AutoSimd<[f32; 4]>) -> AutoSimd<[f32; 4]>
pub fn simd_signum(&self) -> AutoSimd<[f32; 4]>
pub fn is_simd_positive(&self) -> <AutoSimd<[f32; 4]> as SimdValue>::SimdBool
pub fn is_simd_negative(&self) -> <AutoSimd<[f32; 4]> as SimdValue>::SimdBool
impl SimdSigned for AutoSimd<[f32; 8]>
pub fn simd_abs(&self) -> AutoSimd<[f32; 8]>
pub fn simd_abs_sub(&self, other: &AutoSimd<[f32; 8]>) -> AutoSimd<[f32; 8]>
pub fn simd_signum(&self) -> AutoSimd<[f32; 8]>
pub fn is_simd_positive(&self) -> <AutoSimd<[f32; 8]> as SimdValue>::SimdBool
pub fn is_simd_negative(&self) -> <AutoSimd<[f32; 8]> as SimdValue>::SimdBool
impl SimdSigned for AutoSimd<[f32; 16]>
pub fn simd_abs(&self) -> AutoSimd<[f32; 16]>
pub fn simd_abs_sub(&self, other: &AutoSimd<[f32; 16]>) -> AutoSimd<[f32; 16]>
pub fn simd_signum(&self) -> AutoSimd<[f32; 16]>
pub fn is_simd_positive(&self) -> <AutoSimd<[f32; 16]> as SimdValue>::SimdBool
pub fn is_simd_negative(&self) -> <AutoSimd<[f32; 16]> as SimdValue>::SimdBool
impl SimdSigned for AutoSimd<[f64; 2]>
pub fn simd_abs(&self) -> AutoSimd<[f64; 2]>
pub fn simd_abs_sub(&self, other: &AutoSimd<[f64; 2]>) -> AutoSimd<[f64; 2]>
pub fn simd_signum(&self) -> AutoSimd<[f64; 2]>
pub fn is_simd_positive(&self) -> <AutoSimd<[f64; 2]> as SimdValue>::SimdBool
pub fn is_simd_negative(&self) -> <AutoSimd<[f64; 2]> as SimdValue>::SimdBool
impl SimdSigned for AutoSimd<[f64; 4]>
pub fn simd_abs(&self) -> AutoSimd<[f64; 4]>
pub fn simd_abs_sub(&self, other: &AutoSimd<[f64; 4]>) -> AutoSimd<[f64; 4]>
pub fn simd_signum(&self) -> AutoSimd<[f64; 4]>
pub fn is_simd_positive(&self) -> <AutoSimd<[f64; 4]> as SimdValue>::SimdBool
pub fn is_simd_negative(&self) -> <AutoSimd<[f64; 4]> as SimdValue>::SimdBool
impl SimdSigned for AutoSimd<[f64; 8]>
pub fn simd_abs(&self) -> AutoSimd<[f64; 8]>
pub fn simd_abs_sub(&self, other: &AutoSimd<[f64; 8]>) -> AutoSimd<[f64; 8]>
pub fn simd_signum(&self) -> AutoSimd<[f64; 8]>
pub fn is_simd_positive(&self) -> <AutoSimd<[f64; 8]> as SimdValue>::SimdBool
pub fn is_simd_negative(&self) -> <AutoSimd<[f64; 8]> as SimdValue>::SimdBool
impl SimdSigned for WideF32x4
pub fn simd_abs(&self) -> WideF32x4
pub fn simd_abs_sub(&self, other: &WideF32x4) -> WideF32x4
pub fn simd_signum(&self) -> WideF32x4
pub fn is_simd_positive(&self) -> <WideF32x4 as SimdValue>::SimdBool
pub fn is_simd_negative(&self) -> <WideF32x4 as SimdValue>::SimdBool
impl<T> SimdSigned for T where
T: SimdValue<SimdBool = bool> + Signed,
T: SimdValue<SimdBool = bool> + Signed,