#[repr(transparent)]pub struct Portable(pub f64);Expand description
A transparent binary64 value used for portable nalgebra operations.
Tuple Fields§
§0: f64Implementations§
Trait Implementations§
Source§impl AbsDiffEq for Portable
impl AbsDiffEq for Portable
Source§fn default_epsilon() -> Self::Epsilon
fn default_epsilon() -> Self::Epsilon
The default tolerance to use when testing values that are close together. Read more
Source§fn abs_diff_eq(&self, other: &Self, epsilon: Self::Epsilon) -> bool
fn abs_diff_eq(&self, other: &Self, epsilon: Self::Epsilon) -> bool
A test for equality that uses the absolute difference to compute the approximate
equality of two numbers.
Source§fn abs_diff_ne(&self, other: &Self, epsilon: Self::Epsilon) -> bool
fn abs_diff_ne(&self, other: &Self, epsilon: Self::Epsilon) -> bool
The inverse of
AbsDiffEq::abs_diff_eq.Source§impl AddAssign for Portable
impl AddAssign for Portable
Source§fn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
Performs the
+= operation. Read moreSource§impl ComplexField for Portable
impl ComplexField for Portable
type RealField = Portable
Source§fn norm1(self) -> Self
fn norm1(self) -> Self
The sum of the absolute value of this complex number’s real and imaginary part.
Source§fn modulus_squared(self) -> Self
fn modulus_squared(self) -> Self
The squared modulus of this complex number.
Source§fn to_exp(self) -> (Self, Self)
fn to_exp(self) -> (Self, Self)
The exponential form of this complex number: (modulus, e^{i arg})
fn recip(self) -> Self
fn conjugate(self) -> Self
fn floor(self) -> Self
fn ceil(self) -> Self
fn round(self) -> Self
fn trunc(self) -> Self
fn fract(self) -> Self
fn mul_add(self, a: Self, b: Self) -> Self
Source§fn abs(self) -> Self
fn abs(self) -> Self
The absolute value of this complex number:
self / self.signum(). Read moreSource§fn hypot(self, other: Self) -> Self
fn hypot(self, other: Self) -> Self
Computes (self.conjugate() * self + other.conjugate() * other).sqrt()
fn powi(self, exponent: i32) -> Self
fn powf(self, exponent: Self) -> Self
fn powc(self, exponent: Self) -> Self
fn sqrt(self) -> Self
fn try_sqrt(self) -> Option<Self>
fn exp(self) -> Self
fn exp2(self) -> Self
fn exp_m1(self) -> Self
fn ln_1p(self) -> Self
fn ln(self) -> Self
fn log(self, base: Self) -> Self
fn log2(self) -> Self
fn log10(self) -> Self
fn cbrt(self) -> Self
fn sin(self) -> Self
fn cos(self) -> Self
fn sin_cos(self) -> (Self, Self)
fn tan(self) -> Self
fn asin(self) -> Self
fn acos(self) -> Self
fn atan(self) -> Self
fn sinh(self) -> Self
fn cosh(self) -> Self
fn tanh(self) -> Self
fn asinh(self) -> Self
fn acosh(self) -> Self
fn atanh(self) -> Self
fn is_finite(&self) -> bool
Source§fn to_polar(self) -> (Self::RealField, Self::RealField)
fn to_polar(self) -> (Self::RealField, Self::RealField)
The polar form of this complex number: (modulus, arg)
fn sinh_cosh(self) -> (Self, Self)
fn sinhc(self) -> Self
fn coshc(self) -> Self
impl Copy for Portable
Source§impl DivAssign for Portable
impl DivAssign for Portable
Source§fn div_assign(&mut self, rhs: Self)
fn div_assign(&mut self, rhs: Self)
Performs the
/= operation. Read moreimpl Field for Portable
Source§impl FromPrimitive for Portable
impl FromPrimitive for Portable
Source§fn from_i64(value: i64) -> Option<Self>
fn from_i64(value: 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(value: u64) -> Option<Self>
fn from_u64(value: 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_f64(value: f64) -> Option<Self>
fn from_f64(value: 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§fn from_f32(value: f32) -> Option<Self>
fn from_f32(value: 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_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_i128(n: i128) -> Option<Self>
fn from_i128(n: i128) -> Option<Self>
Converts an
i128 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned. Read moreSource§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§impl MulAssign for Portable
impl MulAssign for Portable
Source§fn mul_assign(&mut self, rhs: Self)
fn mul_assign(&mut self, rhs: Self)
Performs the
*= operation. Read moreSource§impl Num for Portable
impl Num for Portable
type FromStrRadixErr = ParseFloatError
Source§fn from_str_radix(src: &str, radix: u32) -> Result<Self, Self::FromStrRadixErr>
fn from_str_radix(src: &str, radix: u32) -> Result<Self, Self::FromStrRadixErr>
Convert from a string and radix (typically
2..=36). Read moreSource§impl PartialOrd for Portable
impl PartialOrd for Portable
impl PrimitiveSimdValue for Portable
Source§impl RealField for Portable
impl RealField for Portable
Source§fn is_sign_positive(&self) -> bool
fn is_sign_positive(&self) -> bool
Is the sign of this real number positive?
Source§fn is_sign_negative(&self) -> bool
fn is_sign_negative(&self) -> bool
Is the sign of this real number negative?
fn max(self, other: Self) -> Self
fn min(self, other: Self) -> Self
fn clamp(self, min: Self, max: Self) -> Self
fn atan2(self, other: Self) -> Self
Source§fn min_value() -> Option<Self>
fn min_value() -> Option<Self>
The smallest finite positive value representable using this type.
Source§fn max_value() -> Option<Self>
fn max_value() -> Option<Self>
The largest finite positive value representable using this type.
fn pi() -> Self
fn two_pi() -> Self
fn frac_pi_2() -> Self
fn frac_pi_3() -> Self
fn frac_pi_4() -> Self
fn frac_pi_6() -> Self
fn frac_pi_8() -> Self
fn frac_1_pi() -> Self
fn frac_2_pi() -> Self
fn frac_2_sqrt_pi() -> Self
fn e() -> Self
fn log2_e() -> Self
fn log10_e() -> Self
fn ln_2() -> Self
fn ln_10() -> Self
Source§impl RelativeEq for Portable
impl RelativeEq for Portable
Source§fn default_max_relative() -> Self::Epsilon
fn default_max_relative() -> Self::Epsilon
The default relative tolerance for testing values that are far-apart. Read more
Source§fn relative_eq(
&self,
other: &Self,
epsilon: Self::Epsilon,
max_relative: Self::Epsilon,
) -> bool
fn relative_eq( &self, other: &Self, epsilon: Self::Epsilon, max_relative: Self::Epsilon, ) -> bool
A test for equality that uses a relative comparison if the values are far apart.
Source§fn relative_ne(
&self,
other: &Self,
epsilon: Self::Epsilon,
max_relative: Self::Epsilon,
) -> bool
fn relative_ne( &self, other: &Self, epsilon: Self::Epsilon, max_relative: Self::Epsilon, ) -> bool
The inverse of
RelativeEq::relative_eq.Source§impl RemAssign for Portable
impl RemAssign for Portable
Source§fn rem_assign(&mut self, rhs: Self)
fn rem_assign(&mut self, rhs: Self)
Performs the
%= operation. Read moreSource§impl Signed for Portable
impl Signed for Portable
Source§fn is_positive(&self) -> bool
fn is_positive(&self) -> bool
Returns true if the number is positive and false if the number is zero or negative.
Source§fn is_negative(&self) -> bool
fn is_negative(&self) -> bool
Returns true if the number is negative and false if the number is zero or positive.
Source§impl SimdValue for Portable
impl SimdValue for Portable
Source§unsafe fn extract_unchecked(&self, _: usize) -> Self::Element
unsafe fn extract_unchecked(&self, _: usize) -> Self::Element
Extracts the i-th lane of
self without bound-checking. Read moreSource§unsafe fn replace_unchecked(&mut self, _: usize, value: Self::Element)
unsafe fn replace_unchecked(&mut self, _: usize, value: Self::Element)
impl StructuralPartialEq for Portable
Source§impl SubAssign for Portable
impl SubAssign for Portable
Source§fn sub_assign(&mut self, rhs: Self)
fn sub_assign(&mut self, rhs: Self)
Performs the
-= operation. Read moreSource§impl SubsetOf<Portable> for f64
impl SubsetOf<Portable> for f64
Source§fn to_superset(&self) -> Portable
fn to_superset(&self) -> Portable
The inclusion map: converts
self to the equivalent element of its superset.Source§fn from_superset_unchecked(element: &Portable) -> Self
fn from_superset_unchecked(element: &Portable) -> Self
Use with care! Same as
self.to_superset but without any property checks. Always succeeds.Source§fn is_in_subset(_: &Portable) -> bool
fn is_in_subset(_: &Portable) -> bool
Checks if
element is actually part of the subset Self (and can be converted to it).Source§impl SubsetOf<Portable> for f32
impl SubsetOf<Portable> for f32
Source§fn to_superset(&self) -> Portable
fn to_superset(&self) -> Portable
The inclusion map: converts
self to the equivalent element of its superset.Source§fn from_superset_unchecked(element: &Portable) -> Self
fn from_superset_unchecked(element: &Portable) -> Self
Use with care! Same as
self.to_superset but without any property checks. Always succeeds.Source§fn is_in_subset(_: &Portable) -> bool
fn is_in_subset(_: &Portable) -> bool
Checks if
element is actually part of the subset Self (and can be converted to it).Source§impl SubsetOf<Portable> for Portable
impl SubsetOf<Portable> for Portable
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_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).Source§impl SubsetOf<f32> for Portable
impl SubsetOf<f32> for Portable
Source§fn to_superset(&self) -> f32
fn to_superset(&self) -> f32
The inclusion map: converts
self to the equivalent element of its superset.Source§fn from_superset_unchecked(element: &f32) -> Self
fn from_superset_unchecked(element: &f32) -> Self
Use with care! Same as
self.to_superset but without any property checks. Always succeeds.Source§fn is_in_subset(_: &f32) -> bool
fn is_in_subset(_: &f32) -> bool
Checks if
element is actually part of the subset Self (and can be converted to it).Source§impl SubsetOf<f64> for Portable
impl SubsetOf<f64> for Portable
Source§fn to_superset(&self) -> f64
fn to_superset(&self) -> f64
The inclusion map: converts
self to the equivalent element of its superset.Source§fn from_superset_unchecked(element: &f64) -> Self
fn from_superset_unchecked(element: &f64) -> Self
Use with care! Same as
self.to_superset but without any property checks. Always succeeds.Source§fn is_in_subset(_: &f64) -> bool
fn is_in_subset(_: &f64) -> bool
Checks if
element is actually part of the subset Self (and can be converted to it).Source§impl ToPrimitive for Portable
impl ToPrimitive for Portable
Source§fn to_i64(&self) -> Option<i64>
fn to_i64(&self) -> Option<i64>
Converts the value of
self to an i64. If the value cannot be
represented by an i64, then None is returned.Source§fn to_u64(&self) -> Option<u64>
fn to_u64(&self) -> Option<u64>
Converts the value of
self to a u64. If the value cannot be
represented by a u64, then None is returned.Source§fn to_f64(&self) -> Option<f64>
fn to_f64(&self) -> Option<f64>
Converts the value of
self to an f64. Overflows may map to positive
or negative inifinity, otherwise None is returned if the value cannot
be represented by an f64. Read moreSource§fn to_f32(&self) -> Option<f32>
fn to_f32(&self) -> Option<f32>
Converts the value of
self to an f32. Overflows may map to positive
or negative inifinity, otherwise None is returned if the value cannot
be represented by an f32.Source§fn to_isize(&self) -> Option<isize>
fn to_isize(&self) -> Option<isize>
Converts the value of
self to an isize. If the value cannot be
represented by an isize, then None is returned.Source§fn to_i8(&self) -> Option<i8>
fn to_i8(&self) -> Option<i8>
Converts the value of
self to an i8. If the value cannot be
represented by an i8, then None is returned.Source§fn to_i16(&self) -> Option<i16>
fn to_i16(&self) -> Option<i16>
Converts the value of
self to an i16. If the value cannot be
represented by an i16, then None is returned.Source§fn to_i32(&self) -> Option<i32>
fn to_i32(&self) -> Option<i32>
Converts the value of
self to an i32. If the value cannot be
represented by an i32, then None is returned.Source§fn to_i128(&self) -> Option<i128>
fn to_i128(&self) -> Option<i128>
Converts the value of
self to an i128. If the value cannot be
represented by an i128 (i64 under the default implementation), then
None is returned. Read moreSource§fn to_usize(&self) -> Option<usize>
fn to_usize(&self) -> Option<usize>
Converts the value of
self to a usize. If the value cannot be
represented by a usize, then None is returned.Source§fn to_u8(&self) -> Option<u8>
fn to_u8(&self) -> Option<u8>
Converts the value of
self to a u8. If the value cannot be
represented by a u8, then None is returned.Source§fn to_u16(&self) -> Option<u16>
fn to_u16(&self) -> Option<u16>
Converts the value of
self to a u16. If the value cannot be
represented by a u16, then None is returned.Source§impl UlpsEq for Portable
impl UlpsEq for Portable
Auto Trait Implementations§
impl Freeze for Portable
impl RefUnwindSafe for Portable
impl Send for Portable
impl Sync for Portable
impl Unpin for Portable
impl UnsafeUnpin for Portable
impl UnwindSafe for Portable
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T, Right> ClosedAdd<Right> for T
impl<T, Right> ClosedAddAssign<Right> for T
impl<T, Right> ClosedDiv<Right> for T
impl<T, Right> ClosedDivAssign<Right> for T
impl<T, Right> ClosedMul<Right> for T
impl<T, Right> ClosedMulAssign<Right> for T
impl<T> ClosedNeg for Twhere
T: Neg<Output = T>,
impl<T, Right> ClosedSub<Right> for T
impl<T, Right> ClosedSubAssign<Right> for T
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreimpl<T> NumAssign for Twhere
T: Num + NumAssignOps,
impl<T, Rhs> NumAssignOps<Rhs> for T
impl<T, Rhs, Output> NumOps<Rhs, Output> for T
Source§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Scalar for T
Source§impl<T> SimdComplexField for Twhere
T: ComplexField,
impl<T> SimdComplexField for Twhere
T: ComplexField,
Source§type SimdRealField = <T as ComplexField>::RealField
type SimdRealField = <T as ComplexField>::RealField
Type of the coefficients of a complex number.
Source§fn from_simd_real(re: <T as SimdComplexField>::SimdRealField) -> T
fn from_simd_real(re: <T as SimdComplexField>::SimdRealField) -> T
Builds a pure-real complex number from the given value.
Source§fn simd_real(self) -> <T as SimdComplexField>::SimdRealField
fn simd_real(self) -> <T as SimdComplexField>::SimdRealField
The real part of this complex number.
Source§fn simd_imaginary(self) -> <T as SimdComplexField>::SimdRealField
fn simd_imaginary(self) -> <T as SimdComplexField>::SimdRealField
The imaginary part of this complex number.
Source§fn simd_modulus(self) -> <T as SimdComplexField>::SimdRealField
fn simd_modulus(self) -> <T as SimdComplexField>::SimdRealField
The modulus of this complex number.
Source§fn simd_modulus_squared(self) -> <T as SimdComplexField>::SimdRealField
fn simd_modulus_squared(self) -> <T as SimdComplexField>::SimdRealField
The squared modulus of this complex number.
Source§fn simd_argument(self) -> <T as SimdComplexField>::SimdRealField
fn simd_argument(self) -> <T as SimdComplexField>::SimdRealField
The argument of this complex number.
Source§fn simd_norm1(self) -> <T as SimdComplexField>::SimdRealField
fn simd_norm1(self) -> <T as SimdComplexField>::SimdRealField
The sum of the absolute value of this complex number’s real and imaginary part.
Source§fn simd_scale(self, factor: <T as SimdComplexField>::SimdRealField) -> T
fn simd_scale(self, factor: <T as SimdComplexField>::SimdRealField) -> T
Multiplies this complex number by
factor.Source§fn simd_unscale(self, factor: <T as SimdComplexField>::SimdRealField) -> T
fn simd_unscale(self, factor: <T as SimdComplexField>::SimdRealField) -> T
Divides this complex number by
factor.Source§fn simd_to_polar(
self,
) -> (<T as SimdComplexField>::SimdRealField, <T as SimdComplexField>::SimdRealField)
fn simd_to_polar( self, ) -> (<T as SimdComplexField>::SimdRealField, <T as SimdComplexField>::SimdRealField)
The polar form of this complex number: (modulus, arg)
Source§fn simd_to_exp(self) -> (<T as SimdComplexField>::SimdRealField, T)
fn simd_to_exp(self) -> (<T as SimdComplexField>::SimdRealField, T)
The exponential form of this complex number: (modulus, e^{i arg})
Source§fn simd_signum(self) -> T
fn simd_signum(self) -> T
The exponential part of this complex number:
self / self.modulus()fn simd_floor(self) -> T
fn simd_ceil(self) -> T
fn simd_round(self) -> T
fn simd_trunc(self) -> T
fn simd_fract(self) -> T
fn simd_mul_add(self, a: T, b: T) -> T
Source§fn simd_abs(self) -> <T as SimdComplexField>::SimdRealField
fn simd_abs(self) -> <T as SimdComplexField>::SimdRealField
The absolute value of this complex number:
self / self.signum(). Read moreSource§fn simd_hypot(self, other: T) -> <T as SimdComplexField>::SimdRealField
fn simd_hypot(self, other: T) -> <T as SimdComplexField>::SimdRealField
Computes (self.conjugate() * self + other.conjugate() * other).sqrt()
fn simd_recip(self) -> T
fn simd_conjugate(self) -> T
fn simd_sin(self) -> T
fn simd_cos(self) -> T
fn simd_sin_cos(self) -> (T, T)
fn simd_sinh_cosh(self) -> (T, T)
fn simd_tan(self) -> T
fn simd_asin(self) -> T
fn simd_acos(self) -> T
fn simd_atan(self) -> T
fn simd_sinh(self) -> T
fn simd_cosh(self) -> T
fn simd_tanh(self) -> T
fn simd_asinh(self) -> T
fn simd_acosh(self) -> T
fn simd_atanh(self) -> T
fn simd_sinhc(self) -> T
fn simd_coshc(self) -> T
fn simd_log(self, base: <T as SimdComplexField>::SimdRealField) -> T
fn simd_log2(self) -> T
fn simd_log10(self) -> T
fn simd_ln(self) -> T
fn simd_ln_1p(self) -> T
fn simd_sqrt(self) -> T
fn simd_exp(self) -> T
fn simd_exp2(self) -> T
fn simd_exp_m1(self) -> T
fn simd_powi(self, n: i32) -> T
fn simd_powf(self, n: <T as SimdComplexField>::SimdRealField) -> T
fn simd_powc(self, n: T) -> T
fn simd_cbrt(self) -> T
Source§fn simd_horizontal_sum(self) -> <T as SimdValue>::Element
fn simd_horizontal_sum(self) -> <T as SimdValue>::Element
Computes the sum of all the lanes of
self.Source§fn simd_horizontal_product(self) -> <T as SimdValue>::Element
fn simd_horizontal_product(self) -> <T as SimdValue>::Element
Computes the product of all the lanes of
self.Source§impl<T> SimdPartialOrd for T
impl<T> SimdPartialOrd for T
Source§fn simd_ge(self, other: T) -> <T as SimdValue>::SimdBool
fn simd_ge(self, other: T) -> <T as SimdValue>::SimdBool
Lanewise greater or equal
>= comparison.Source§fn simd_le(self, other: T) -> <T as SimdValue>::SimdBool
fn simd_le(self, other: T) -> <T as SimdValue>::SimdBool
Lanewise less or equal
<= comparison.Source§fn simd_clamp(self, min: T, max: T) -> T
fn simd_clamp(self, min: T, max: T) -> T
Clamps each lane of
self between the corresponding lane of min and max.Source§fn simd_horizontal_min(self) -> <T as SimdValue>::Element
fn simd_horizontal_min(self) -> <T as SimdValue>::Element
The min value among all lanes of
self.Source§fn simd_horizontal_max(self) -> <T as SimdValue>::Element
fn simd_horizontal_max(self) -> <T as SimdValue>::Element
The max value among all lanes of
self.Source§impl<T> SimdRealField for Twhere
T: RealField,
impl<T> SimdRealField for Twhere
T: RealField,
fn simd_atan2(self, other: T) -> T
fn simd_default_epsilon() -> T
Source§fn simd_copysign(self, sign: T) -> T
fn simd_copysign(self, sign: T) -> T
fn simd_pi() -> T
fn simd_two_pi() -> T
fn simd_frac_pi_2() -> T
fn simd_frac_pi_3() -> T
fn simd_frac_pi_4() -> T
fn simd_frac_pi_6() -> T
fn simd_frac_pi_8() -> T
fn simd_frac_1_pi() -> T
fn simd_frac_2_pi() -> T
fn simd_frac_2_sqrt_pi() -> T
fn simd_e() -> T
fn simd_log2_e() -> T
fn simd_log10_e() -> T
fn simd_ln_2() -> T
fn simd_ln_10() -> T
Source§impl<T> SimdSigned for T
impl<T> SimdSigned for T
Source§fn simd_abs_sub(&self, other: &T) -> T
fn simd_abs_sub(&self, other: &T) -> T
The absolute difference of each lane of
self. Read moreSource§fn simd_signum(&self) -> T
fn simd_signum(&self) -> T
The signum of each lane of
Self.Source§fn is_simd_positive(&self) -> <T as SimdValue>::SimdBool
fn is_simd_positive(&self) -> <T as SimdValue>::SimdBool
Tests which lane is positive.
Source§fn is_simd_negative(&self) -> <T as SimdValue>::SimdBool
fn is_simd_negative(&self) -> <T as SimdValue>::SimdBool
Tests which lane is negative.
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.