Type Alias oxygengine_physics_2d::prelude::ncollide2d::simba::simd::AutoF32x4
pub type AutoF32x4 = AutoSimd<[f32; 4]>;
Aliased Type§
struct AutoF32x4(pub [f32; 4]);
Fields§
§0: [f32; 4]
Implementations§
Trait Implementations§
§impl FromPrimitive for AutoSimd<[f32; 4]>
impl FromPrimitive for AutoSimd<[f32; 4]>
§fn from_i64(n: i64) -> Option<AutoSimd<[f32; 4]>>
fn from_i64(n: i64) -> Option<AutoSimd<[f32; 4]>>
Converts an
i64
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.§fn from_u64(n: u64) -> Option<AutoSimd<[f32; 4]>>
fn from_u64(n: u64) -> Option<AutoSimd<[f32; 4]>>
Converts an
u64
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.§fn from_isize(n: isize) -> Option<AutoSimd<[f32; 4]>>
fn from_isize(n: isize) -> Option<AutoSimd<[f32; 4]>>
Converts an
isize
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.§fn from_i8(n: i8) -> Option<AutoSimd<[f32; 4]>>
fn from_i8(n: i8) -> Option<AutoSimd<[f32; 4]>>
Converts an
i8
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.§fn from_i16(n: i16) -> Option<AutoSimd<[f32; 4]>>
fn from_i16(n: i16) -> Option<AutoSimd<[f32; 4]>>
Converts an
i16
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.§fn from_i32(n: i32) -> Option<AutoSimd<[f32; 4]>>
fn from_i32(n: i32) -> Option<AutoSimd<[f32; 4]>>
Converts an
i32
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.§fn from_usize(n: usize) -> Option<AutoSimd<[f32; 4]>>
fn from_usize(n: usize) -> Option<AutoSimd<[f32; 4]>>
Converts a
usize
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.§fn from_u8(n: u8) -> Option<AutoSimd<[f32; 4]>>
fn from_u8(n: u8) -> Option<AutoSimd<[f32; 4]>>
Converts an
u8
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.§fn from_u16(n: u16) -> Option<AutoSimd<[f32; 4]>>
fn from_u16(n: u16) -> Option<AutoSimd<[f32; 4]>>
Converts an
u16
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.§fn from_u32(n: u32) -> Option<AutoSimd<[f32; 4]>>
fn from_u32(n: u32) -> Option<AutoSimd<[f32; 4]>>
Converts an
u32
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.§fn from_f32(n: f32) -> Option<AutoSimd<[f32; 4]>>
fn from_f32(n: f32) -> Option<AutoSimd<[f32; 4]>>
Converts a
f32
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.§fn from_f64(n: f64) -> Option<AutoSimd<[f32; 4]>>
fn from_f64(n: f64) -> Option<AutoSimd<[f32; 4]>>
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 more§impl Num for AutoSimd<[f32; 4]>
impl Num for AutoSimd<[f32; 4]>
type FromStrRadixErr = <f32 as Num>::FromStrRadixErr
§impl<N> PartialEq<AutoSimd<N>> for AutoSimd<N>where
N: PartialEq<N>,
impl<N> PartialEq<AutoSimd<N>> for AutoSimd<N>where N: PartialEq<N>,
§impl SimdComplexField for AutoSimd<[f32; 4]>
impl SimdComplexField for AutoSimd<[f32; 4]>
§type SimdRealField = AutoSimd<[f32; 4]>
type SimdRealField = AutoSimd<[f32; 4]>
Type of the coefficients of a complex number.
§fn simd_horizontal_sum(self) -> <AutoSimd<[f32; 4]> as SimdValue>::Element
fn simd_horizontal_sum(self) -> <AutoSimd<[f32; 4]> as SimdValue>::Element
Computes the sum of all the lanes of
self
.§fn simd_horizontal_product(self) -> <AutoSimd<[f32; 4]> as SimdValue>::Element
fn simd_horizontal_product(self) -> <AutoSimd<[f32; 4]> as SimdValue>::Element
Computes the product of all the lanes of
self
.§fn from_simd_real(
re: <AutoSimd<[f32; 4]> as SimdComplexField>::SimdRealField
) -> AutoSimd<[f32; 4]>
fn from_simd_real( re: <AutoSimd<[f32; 4]> as SimdComplexField>::SimdRealField ) -> AutoSimd<[f32; 4]>
Builds a pure-real complex number from the given value.
§fn simd_real(self) -> <AutoSimd<[f32; 4]> as SimdComplexField>::SimdRealField
fn simd_real(self) -> <AutoSimd<[f32; 4]> as SimdComplexField>::SimdRealField
The real part of this complex number.
§fn simd_imaginary(
self
) -> <AutoSimd<[f32; 4]> as SimdComplexField>::SimdRealField
fn simd_imaginary( self ) -> <AutoSimd<[f32; 4]> as SimdComplexField>::SimdRealField
The imaginary part of this complex number.
§fn simd_norm1(self) -> <AutoSimd<[f32; 4]> as SimdComplexField>::SimdRealField
fn simd_norm1(self) -> <AutoSimd<[f32; 4]> as SimdComplexField>::SimdRealField
The sum of the absolute value of this complex number’s real and imaginary part.
§fn simd_modulus(self) -> <AutoSimd<[f32; 4]> as SimdComplexField>::SimdRealField
fn simd_modulus(self) -> <AutoSimd<[f32; 4]> as SimdComplexField>::SimdRealField
The modulus of this complex number.
§fn simd_modulus_squared(
self
) -> <AutoSimd<[f32; 4]> as SimdComplexField>::SimdRealField
fn simd_modulus_squared( self ) -> <AutoSimd<[f32; 4]> as SimdComplexField>::SimdRealField
The squared modulus of this complex number.
§fn simd_argument(
self
) -> <AutoSimd<[f32; 4]> as SimdComplexField>::SimdRealField
fn simd_argument( self ) -> <AutoSimd<[f32; 4]> as SimdComplexField>::SimdRealField
The argument of this complex number.
§fn simd_to_exp(
self
) -> (<AutoSimd<[f32; 4]> as SimdComplexField>::SimdRealField, AutoSimd<[f32; 4]>)
fn simd_to_exp( self ) -> (<AutoSimd<[f32; 4]> as SimdComplexField>::SimdRealField, AutoSimd<[f32; 4]>)
The exponential form of this complex number: (modulus, e^{i arg})
fn simd_recip(self) -> AutoSimd<[f32; 4]>
fn simd_conjugate(self) -> AutoSimd<[f32; 4]>
§fn simd_scale(
self,
factor: <AutoSimd<[f32; 4]> as SimdComplexField>::SimdRealField
) -> AutoSimd<[f32; 4]>
fn simd_scale( self, factor: <AutoSimd<[f32; 4]> as SimdComplexField>::SimdRealField ) -> AutoSimd<[f32; 4]>
Multiplies this complex number by
factor
.§fn simd_unscale(
self,
factor: <AutoSimd<[f32; 4]> as SimdComplexField>::SimdRealField
) -> AutoSimd<[f32; 4]>
fn simd_unscale( self, factor: <AutoSimd<[f32; 4]> as SimdComplexField>::SimdRealField ) -> AutoSimd<[f32; 4]>
Divides this complex number by
factor
.fn simd_floor(self) -> AutoSimd<[f32; 4]>
fn simd_ceil(self) -> AutoSimd<[f32; 4]>
fn simd_round(self) -> AutoSimd<[f32; 4]>
fn simd_trunc(self) -> AutoSimd<[f32; 4]>
fn simd_fract(self) -> AutoSimd<[f32; 4]>
§fn simd_abs(self) -> AutoSimd<[f32; 4]>
fn simd_abs(self) -> AutoSimd<[f32; 4]>
The absolute value of this complex number:
self / self.signum()
. Read more§fn simd_signum(self) -> AutoSimd<[f32; 4]>
fn simd_signum(self) -> AutoSimd<[f32; 4]>
The exponential part of this complex number:
self / self.modulus()
fn simd_mul_add( self, a: AutoSimd<[f32; 4]>, b: AutoSimd<[f32; 4]> ) -> AutoSimd<[f32; 4]>
fn simd_powi(self, n: i32) -> AutoSimd<[f32; 4]>
fn simd_powf(self, n: AutoSimd<[f32; 4]>) -> AutoSimd<[f32; 4]>
fn simd_powc(self, n: AutoSimd<[f32; 4]>) -> AutoSimd<[f32; 4]>
fn simd_sqrt(self) -> AutoSimd<[f32; 4]>
fn simd_exp(self) -> AutoSimd<[f32; 4]>
fn simd_exp2(self) -> AutoSimd<[f32; 4]>
fn simd_exp_m1(self) -> AutoSimd<[f32; 4]>
fn simd_ln_1p(self) -> AutoSimd<[f32; 4]>
fn simd_ln(self) -> AutoSimd<[f32; 4]>
fn simd_log(self, base: AutoSimd<[f32; 4]>) -> AutoSimd<[f32; 4]>
fn simd_log2(self) -> AutoSimd<[f32; 4]>
fn simd_log10(self) -> AutoSimd<[f32; 4]>
fn simd_cbrt(self) -> AutoSimd<[f32; 4]>
§fn simd_hypot(
self,
other: AutoSimd<[f32; 4]>
) -> <AutoSimd<[f32; 4]> as SimdComplexField>::SimdRealField
fn simd_hypot( self, other: AutoSimd<[f32; 4]> ) -> <AutoSimd<[f32; 4]> as SimdComplexField>::SimdRealField
Computes (self.conjugate() * self + other.conjugate() * other).sqrt()
fn simd_sin(self) -> AutoSimd<[f32; 4]>
fn simd_cos(self) -> AutoSimd<[f32; 4]>
fn simd_tan(self) -> AutoSimd<[f32; 4]>
fn simd_asin(self) -> AutoSimd<[f32; 4]>
fn simd_acos(self) -> AutoSimd<[f32; 4]>
fn simd_atan(self) -> AutoSimd<[f32; 4]>
fn simd_sin_cos(self) -> (AutoSimd<[f32; 4]>, AutoSimd<[f32; 4]>)
fn simd_sinh(self) -> AutoSimd<[f32; 4]>
fn simd_cosh(self) -> AutoSimd<[f32; 4]>
fn simd_tanh(self) -> AutoSimd<[f32; 4]>
fn simd_asinh(self) -> AutoSimd<[f32; 4]>
fn simd_acosh(self) -> AutoSimd<[f32; 4]>
fn simd_atanh(self) -> AutoSimd<[f32; 4]>
§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
§impl SimdPartialOrd for AutoSimd<[f32; 4]>
impl SimdPartialOrd for AutoSimd<[f32; 4]>
§fn simd_gt(
self,
other: AutoSimd<[f32; 4]>
) -> <AutoSimd<[f32; 4]> as SimdValue>::SimdBool
fn simd_gt( self, other: AutoSimd<[f32; 4]> ) -> <AutoSimd<[f32; 4]> as SimdValue>::SimdBool
Lanewise greater than
>
comparison.§fn simd_lt(
self,
other: AutoSimd<[f32; 4]>
) -> <AutoSimd<[f32; 4]> as SimdValue>::SimdBool
fn simd_lt( self, other: AutoSimd<[f32; 4]> ) -> <AutoSimd<[f32; 4]> as SimdValue>::SimdBool
Lanewise less than
<
comparison.§fn simd_ge(
self,
other: AutoSimd<[f32; 4]>
) -> <AutoSimd<[f32; 4]> as SimdValue>::SimdBool
fn simd_ge( self, other: AutoSimd<[f32; 4]> ) -> <AutoSimd<[f32; 4]> as SimdValue>::SimdBool
Lanewise greater or equal
>=
comparison.§fn simd_le(
self,
other: AutoSimd<[f32; 4]>
) -> <AutoSimd<[f32; 4]> as SimdValue>::SimdBool
fn simd_le( self, other: AutoSimd<[f32; 4]> ) -> <AutoSimd<[f32; 4]> as SimdValue>::SimdBool
Lanewise less or equal
<=
comparison.§fn simd_eq(
self,
other: AutoSimd<[f32; 4]>
) -> <AutoSimd<[f32; 4]> as SimdValue>::SimdBool
fn simd_eq( self, other: AutoSimd<[f32; 4]> ) -> <AutoSimd<[f32; 4]> as SimdValue>::SimdBool
Lanewise equal
==
comparison.§fn simd_ne(
self,
other: AutoSimd<[f32; 4]>
) -> <AutoSimd<[f32; 4]> as SimdValue>::SimdBool
fn simd_ne( self, other: AutoSimd<[f32; 4]> ) -> <AutoSimd<[f32; 4]> as SimdValue>::SimdBool
Lanewise not equal
!=
comparison.§fn simd_clamp(
self,
min: AutoSimd<[f32; 4]>,
max: AutoSimd<[f32; 4]>
) -> AutoSimd<[f32; 4]>
fn simd_clamp( self, min: AutoSimd<[f32; 4]>, max: AutoSimd<[f32; 4]> ) -> AutoSimd<[f32; 4]>
Clamps each lane of
self
between the corresponding lane of min
and max
.§impl SimdRealField for AutoSimd<[f32; 4]>
impl SimdRealField for AutoSimd<[f32; 4]>
fn simd_atan2(self, other: AutoSimd<[f32; 4]>) -> AutoSimd<[f32; 4]>
fn simd_default_epsilon() -> AutoSimd<[f32; 4]>
fn simd_pi() -> AutoSimd<[f32; 4]>
fn simd_two_pi() -> AutoSimd<[f32; 4]>
fn simd_frac_pi_2() -> AutoSimd<[f32; 4]>
fn simd_frac_pi_3() -> AutoSimd<[f32; 4]>
fn simd_frac_pi_4() -> AutoSimd<[f32; 4]>
fn simd_frac_pi_6() -> AutoSimd<[f32; 4]>
fn simd_frac_pi_8() -> AutoSimd<[f32; 4]>
fn simd_frac_1_pi() -> AutoSimd<[f32; 4]>
fn simd_frac_2_pi() -> AutoSimd<[f32; 4]>
fn simd_frac_2_sqrt_pi() -> AutoSimd<[f32; 4]>
fn simd_e() -> AutoSimd<[f32; 4]>
fn simd_log2_e() -> AutoSimd<[f32; 4]>
fn simd_log10_e() -> AutoSimd<[f32; 4]>
fn simd_ln_2() -> AutoSimd<[f32; 4]>
fn simd_ln_10() -> AutoSimd<[f32; 4]>
§impl SimdSigned for AutoSimd<[f32; 4]>
impl SimdSigned for AutoSimd<[f32; 4]>
§fn simd_abs_sub(&self, other: &AutoSimd<[f32; 4]>) -> AutoSimd<[f32; 4]>
fn simd_abs_sub(&self, other: &AutoSimd<[f32; 4]>) -> AutoSimd<[f32; 4]>
The absolute difference of each lane of
self
. Read more§fn simd_signum(&self) -> AutoSimd<[f32; 4]>
fn simd_signum(&self) -> AutoSimd<[f32; 4]>
The signum of each lane of
Self
.§impl SimdValue for AutoSimd<[f32; 4]>
impl SimdValue for AutoSimd<[f32; 4]>
§fn splat(val: <AutoSimd<[f32; 4]> as SimdValue>::Element) -> AutoSimd<[f32; 4]>
fn splat(val: <AutoSimd<[f32; 4]> as SimdValue>::Element) -> AutoSimd<[f32; 4]>
Initializes an SIMD value with each lanes set to
val
.§fn extract(&self, i: usize) -> <AutoSimd<[f32; 4]> as SimdValue>::Element
fn extract(&self, i: usize) -> <AutoSimd<[f32; 4]> as SimdValue>::Element
Extracts the i-th lane of
self
. Read more§unsafe fn extract_unchecked(
&self,
i: usize
) -> <AutoSimd<[f32; 4]> as SimdValue>::Element
unsafe fn extract_unchecked( &self, i: usize ) -> <AutoSimd<[f32; 4]> as SimdValue>::Element
Extracts the i-th lane of
self
without bound-checking.§unsafe fn replace_unchecked(
&mut self,
i: usize,
val: <AutoSimd<[f32; 4]> as SimdValue>::Element
)
unsafe fn replace_unchecked( &mut self, i: usize, val: <AutoSimd<[f32; 4]> as SimdValue>::Element )
Replaces the i-th lane of
self
by val
without bound-checking.§fn select(
self,
cond: <AutoSimd<[f32; 4]> as SimdValue>::SimdBool,
other: AutoSimd<[f32; 4]>
) -> AutoSimd<[f32; 4]>
fn select( self, cond: <AutoSimd<[f32; 4]> as SimdValue>::SimdBool, other: AutoSimd<[f32; 4]> ) -> AutoSimd<[f32; 4]>
§impl SubsetOf<AutoSimd<[f32; 4]>> for AutoSimd<[f32; 4]>
impl SubsetOf<AutoSimd<[f32; 4]>> for AutoSimd<[f32; 4]>
§fn to_superset(&self) -> AutoSimd<[f32; 4]>
fn to_superset(&self) -> AutoSimd<[f32; 4]>
The inclusion map: converts
self
to the equivalent element of its superset.§fn from_superset(element: &AutoSimd<[f32; 4]>) -> Option<AutoSimd<[f32; 4]>>
fn from_superset(element: &AutoSimd<[f32; 4]>) -> Option<AutoSimd<[f32; 4]>>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read more