Trait nalgebra::SimdRealField

source ·
pub trait SimdRealField: SimdPartialOrd + SimdSigned + SimdComplexField<SimdRealField = Self> {
Show 18 methods // Required methods fn simd_copysign(self, sign: Self) -> Self; fn simd_atan2(self, other: Self) -> Self; fn simd_default_epsilon() -> Self; fn simd_pi() -> Self; fn simd_two_pi() -> Self; fn simd_frac_pi_2() -> Self; fn simd_frac_pi_3() -> Self; fn simd_frac_pi_4() -> Self; fn simd_frac_pi_6() -> Self; fn simd_frac_pi_8() -> Self; fn simd_frac_1_pi() -> Self; fn simd_frac_2_pi() -> Self; fn simd_frac_2_sqrt_pi() -> Self; fn simd_e() -> Self; fn simd_log2_e() -> Self; fn simd_log10_e() -> Self; fn simd_ln_2() -> Self; fn simd_ln_10() -> Self;
}
Expand description

Lanewise generalization of RealField for SIMD reals.

Each lane of an SIMD real field should contain one real field. This is implemented by scalar reals like f32 and f64 as well as SIMD reals like packed_simd::f32x4.

Required Methods§

source

fn simd_copysign(self, sign: Self) -> Self

Copies the sign of sign to self.

  • Returns self.simd_abs() if sign is positive or positive-zero.
  • Returns -self.simd_abs() if sign is negative or negative-zero.
source

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

source

fn simd_default_epsilon() -> Self

source

fn simd_pi() -> Self

source

fn simd_two_pi() -> Self

source

fn simd_frac_pi_2() -> Self

source

fn simd_frac_pi_3() -> Self

source

fn simd_frac_pi_4() -> Self

source

fn simd_frac_pi_6() -> Self

source

fn simd_frac_pi_8() -> Self

source

fn simd_frac_1_pi() -> Self

source

fn simd_frac_2_pi() -> Self

source

fn simd_frac_2_sqrt_pi() -> Self

source

fn simd_e() -> Self

source

fn simd_log2_e() -> Self

source

fn simd_log10_e() -> Self

source

fn simd_ln_2() -> Self

source

fn simd_ln_10() -> Self

Object Safety§

This trait is not object safe.

Implementors§