pub type AutoF32x16 = AutoSimd<[f32; 16]>;
Aliased Type§
struct AutoF32x16(pub [f32; 16]);
Fields§
§0: [f32; 16]
Implementations
Trait Implementations
Source§impl AddAssign for AutoSimd<[f32; 16]>
impl AddAssign for AutoSimd<[f32; 16]>
Source§fn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
Performs the
+=
operation. Read moreSource§impl DivAssign for AutoSimd<[f32; 16]>
impl DivAssign for AutoSimd<[f32; 16]>
Source§fn div_assign(&mut self, rhs: Self)
fn div_assign(&mut self, rhs: Self)
Performs the
/=
operation. Read moreSource§impl FromPrimitive for AutoSimd<[f32; 16]>
impl FromPrimitive for AutoSimd<[f32; 16]>
Source§fn from_i64(n: i64) -> Option<Self>
fn from_i64(n: i64) -> Option<Self>
Converts an
i64
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_u64(n: u64) -> Option<Self>
fn from_u64(n: u64) -> Option<Self>
Converts an
u64
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_isize(n: isize) -> Option<Self>
fn from_isize(n: isize) -> Option<Self>
Converts an
isize
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_i8(n: i8) -> Option<Self>
fn from_i8(n: i8) -> Option<Self>
Converts an
i8
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_i16(n: i16) -> Option<Self>
fn from_i16(n: i16) -> Option<Self>
Converts an
i16
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_i32(n: i32) -> Option<Self>
fn from_i32(n: i32) -> Option<Self>
Converts an
i32
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_usize(n: usize) -> Option<Self>
fn from_usize(n: usize) -> Option<Self>
Converts a
usize
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_u8(n: u8) -> Option<Self>
fn from_u8(n: u8) -> Option<Self>
Converts an
u8
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_u16(n: u16) -> Option<Self>
fn from_u16(n: u16) -> Option<Self>
Converts an
u16
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_u32(n: u32) -> Option<Self>
fn from_u32(n: u32) -> Option<Self>
Converts an
u32
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_f32(n: f32) -> Option<Self>
fn from_f32(n: f32) -> Option<Self>
Converts a
f32
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_f64(n: f64) -> Option<Self>
fn from_f64(n: f64) -> Option<Self>
Converts a
f64
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read moreSource§impl MulAssign for AutoSimd<[f32; 16]>
impl MulAssign for AutoSimd<[f32; 16]>
Source§fn mul_assign(&mut self, rhs: Self)
fn mul_assign(&mut self, rhs: Self)
Performs the
*=
operation. Read moreSource§impl Num for AutoSimd<[f32; 16]>
impl Num for AutoSimd<[f32; 16]>
type FromStrRadixErr = <f32 as Num>::FromStrRadixErr
Source§fn from_str_radix(str: &str, radix: u32) -> Result<Self, Self::FromStrRadixErr>
fn from_str_radix(str: &str, radix: u32) -> Result<Self, Self::FromStrRadixErr>
Convert from a string and radix (typically
2..=36
). Read moreSource§impl RemAssign for AutoSimd<[f32; 16]>
impl RemAssign for AutoSimd<[f32; 16]>
Source§fn rem_assign(&mut self, rhs: Self)
fn rem_assign(&mut self, rhs: Self)
Performs the
%=
operation. Read moreSource§impl SimdComplexField for AutoSimd<[f32; 16]>
impl SimdComplexField for AutoSimd<[f32; 16]>
Source§fn simd_horizontal_sum(self) -> Self::Element
fn simd_horizontal_sum(self) -> Self::Element
Computes the sum of all the lanes of
self
.Source§fn simd_horizontal_product(self) -> Self::Element
fn simd_horizontal_product(self) -> Self::Element
Computes the product of all the lanes of
self
.Source§fn from_simd_real(re: Self::SimdRealField) -> Self
fn from_simd_real(re: Self::SimdRealField) -> Self
Builds a pure-real complex number from the given value.
Source§fn simd_real(self) -> Self::SimdRealField
fn simd_real(self) -> Self::SimdRealField
The real part of this complex number.
Source§fn simd_imaginary(self) -> Self::SimdRealField
fn simd_imaginary(self) -> Self::SimdRealField
The imaginary part of this complex number.
Source§fn simd_norm1(self) -> Self::SimdRealField
fn simd_norm1(self) -> Self::SimdRealField
The sum of the absolute value of this complex number’s real and imaginary part.
Source§fn simd_modulus(self) -> Self::SimdRealField
fn simd_modulus(self) -> Self::SimdRealField
The modulus of this complex number.
Source§fn simd_modulus_squared(self) -> Self::SimdRealField
fn simd_modulus_squared(self) -> Self::SimdRealField
The squared modulus of this complex number.
Source§fn simd_argument(self) -> Self::SimdRealField
fn simd_argument(self) -> Self::SimdRealField
The argument of this complex number.
Source§fn simd_to_exp(self) -> (Self::SimdRealField, Self)
fn simd_to_exp(self) -> (Self::SimdRealField, Self)
The exponential form of this complex number: (modulus, e^{i arg})
fn simd_recip(self) -> Self
fn simd_conjugate(self) -> Self
Source§fn simd_scale(self, factor: Self::SimdRealField) -> Self
fn simd_scale(self, factor: Self::SimdRealField) -> Self
Multiplies this complex number by
factor
.Source§fn simd_unscale(self, factor: Self::SimdRealField) -> Self
fn simd_unscale(self, factor: Self::SimdRealField) -> Self
Divides this complex number by
factor
.fn simd_floor(self) -> Self
fn simd_ceil(self) -> Self
fn simd_round(self) -> Self
fn simd_trunc(self) -> Self
fn simd_fract(self) -> Self
Source§fn simd_abs(self) -> Self
fn simd_abs(self) -> Self
The absolute value of this complex number:
self / self.signum()
. Read moreSource§fn simd_signum(self) -> Self
fn simd_signum(self) -> Self
The exponential part of this complex number:
self / self.modulus()
fn simd_mul_add(self, a: Self, b: Self) -> Self
fn simd_powi(self, n: i32) -> Self
fn simd_powf(self, n: Self) -> Self
fn simd_powc(self, n: Self) -> Self
fn simd_sqrt(self) -> Self
fn simd_exp(self) -> Self
fn simd_exp2(self) -> Self
fn simd_exp_m1(self) -> Self
fn simd_ln_1p(self) -> Self
fn simd_ln(self) -> Self
fn simd_log(self, base: Self) -> Self
fn simd_log2(self) -> Self
fn simd_log10(self) -> Self
fn simd_cbrt(self) -> Self
Source§fn simd_hypot(self, other: Self) -> Self::SimdRealField
fn simd_hypot(self, other: Self) -> Self::SimdRealField
Computes (self.conjugate() * self + other.conjugate() * other).sqrt()
fn simd_sin(self) -> Self
fn simd_cos(self) -> Self
fn simd_tan(self) -> Self
fn simd_asin(self) -> Self
fn simd_acos(self) -> Self
fn simd_atan(self) -> Self
fn simd_sin_cos(self) -> (Self, Self)
fn simd_sinh(self) -> Self
fn simd_cosh(self) -> Self
fn simd_tanh(self) -> Self
fn simd_asinh(self) -> Self
fn simd_acosh(self) -> Self
fn simd_atanh(self) -> Self
Source§fn simd_to_polar(self) -> (Self::SimdRealField, Self::SimdRealField)
fn simd_to_polar(self) -> (Self::SimdRealField, Self::SimdRealField)
The polar form of this complex number: (modulus, arg)
fn simd_sinh_cosh(self) -> (Self, Self)
fn simd_sinhc(self) -> Self
fn simd_coshc(self) -> Self
Source§impl SimdPartialOrd for AutoSimd<[f32; 16]>
impl SimdPartialOrd for AutoSimd<[f32; 16]>
Source§fn simd_clamp(self, min: Self, max: Self) -> Self
fn simd_clamp(self, min: Self, max: Self) -> Self
Clamps each lane of
self
between the corresponding lane of min
and max
.Source§fn simd_horizontal_min(self) -> Self::Element
fn simd_horizontal_min(self) -> Self::Element
The min value among all lanes of
self
.Source§fn simd_horizontal_max(self) -> Self::Element
fn simd_horizontal_max(self) -> Self::Element
The max value among all lanes of
self
.Source§impl SimdRealField for AutoSimd<[f32; 16]>
impl SimdRealField for AutoSimd<[f32; 16]>
fn simd_atan2(self, other: Self) -> Self
Source§fn simd_copysign(self, sign: Self) -> Self
fn simd_copysign(self, sign: 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
Source§impl SimdSigned for AutoSimd<[f32; 16]>
impl SimdSigned for AutoSimd<[f32; 16]>
Source§fn simd_abs_sub(&self, other: &Self) -> Self
fn simd_abs_sub(&self, other: &Self) -> Self
The absolute difference of each lane of
self
. Read moreSource§fn simd_signum(&self) -> Self
fn simd_signum(&self) -> Self
The signum of each lane of
Self
.Source§fn is_simd_positive(&self) -> Self::SimdBool
fn is_simd_positive(&self) -> Self::SimdBool
Tests which lane is positive.
Source§fn is_simd_negative(&self) -> Self::SimdBool
fn is_simd_negative(&self) -> Self::SimdBool
Tests which lane is negative.
Source§impl SimdValue for AutoSimd<[f32; 16]>
impl SimdValue for AutoSimd<[f32; 16]>
Source§type SimdBool = AutoSimd<[bool; 16]>
type SimdBool = AutoSimd<[bool; 16]>
Type of the result of comparing two SIMD values like
self
.Source§unsafe fn extract_unchecked(&self, i: usize) -> Self::Element
unsafe fn extract_unchecked(&self, i: usize) -> Self::Element
Extracts the i-th lane of
self
without bound-checking.Source§unsafe fn replace_unchecked(&mut self, i: usize, val: Self::Element)
unsafe fn replace_unchecked(&mut self, i: usize, val: Self::Element)
Replaces the i-th lane of
self
by val
without bound-checking.Source§impl SubAssign for AutoSimd<[f32; 16]>
impl SubAssign for AutoSimd<[f32; 16]>
Source§fn sub_assign(&mut self, rhs: Self)
fn sub_assign(&mut self, rhs: Self)
Performs the
-=
operation. Read moreSource§impl SubsetOf<AutoSimd<[f32; 16]>> for AutoSimd<[f32; 16]>
impl SubsetOf<AutoSimd<[f32; 16]>> for AutoSimd<[f32; 16]>
Source§fn to_superset(&self) -> Self
fn to_superset(&self) -> Self
The inclusion map: converts
self
to the equivalent element of its superset.Source§fn from_superset(element: &Self) -> Option<Self>
fn from_superset(element: &Self) -> Option<Self>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read moreSource§fn from_superset_unchecked(element: &Self) -> Self
fn from_superset_unchecked(element: &Self) -> Self
Use with care! Same as
self.to_superset
but without any property checks. Always succeeds.Source§fn is_in_subset(_: &Self) -> bool
fn is_in_subset(_: &Self) -> bool
Checks if
element
is actually part of the subset Self
(and can be converted to it).