[−][src]Struct softposit::p16e1::P16E1
Methods
impl P16E1
[src]
pub fn mul_add(self, b: Self, c: Self) -> Self
[src]
pub fn floor(self) -> Self
[src]
pub fn ceil(self) -> Self
[src]
pub fn round(self) -> Self
[src]
pub fn trunc(self) -> Self
[src]
pub fn fract(self) -> Self
[src]
pub fn div_euclid(self, rhs: Self) -> Self
[src]
pub fn rem_euclid(self, rhs: Self) -> Self
[src]
pub fn powi(self, _n: i32) -> Self
[src]
pub fn powf(self, _n: Self) -> Self
[src]
pub fn sqrt(self) -> Self
[src]
pub fn exp(self) -> Self
[src]
pub fn exp2(self) -> Self
[src]
pub fn ln(self) -> Self
[src]
pub fn log(self, _base: Self) -> Self
[src]
pub fn log2(self) -> Self
[src]
pub fn log10(self) -> Self
[src]
pub fn cbrt(self) -> Self
[src]
pub fn hypot(self, _other: Self) -> Self
[src]
pub fn sin(self) -> Self
[src]
pub fn cos(self) -> Self
[src]
pub fn tan(self) -> Self
[src]
pub fn asin(self) -> Self
[src]
pub fn acos(self) -> Self
[src]
pub fn atan(self) -> Self
[src]
pub fn atan2(self, _other: Self) -> Self
[src]
pub fn sin_cos(self) -> (Self, Self)
[src]
pub fn exp_m1(self) -> Self
[src]
pub fn ln_1p(self) -> Self
[src]
pub fn sinh(self) -> Self
[src]
pub fn cosh(self) -> Self
[src]
pub fn tanh(self) -> Self
[src]
pub fn asinh(self) -> Self
[src]
pub fn acosh(self) -> Self
[src]
pub fn atanh(self) -> Self
[src]
impl P16E1
[src]
pub const SIZE: usize
[src]
pub const ES: usize
[src]
pub const USEED: usize
[src]
pub const EPSILON: Self
[src]
Machine epsilon (2.44140625e-4).
pub const MIN: Self
[src]
Smallest finite value (-268435456).
pub const MIN_POSITIVE: Self
[src]
Smallest positive normal value (3.725290298_e-9).
pub const MAX: Self
[src]
Largest finite value (268435456).
pub const NAR: Self
[src]
Not a Real (NaR).
pub const NAN: Self
[src]
Not a Number (NaN).
pub const INFINITY: Self
[src]
Infinity (∞).
pub const ZERO: Self
[src]
Zero.
pub const ONE: Self
[src]
Identity.
pub const fn new(i: i16) -> Self
[src]
pub fn from_bits(v: u16) -> Self
[src]
pub fn to_bits(self) -> u16
[src]
pub fn abs(self) -> Self
[src]
pub fn is_nar(self) -> bool
[src]
pub fn is_nan(self) -> bool
[src]
pub fn is_infinite(self) -> bool
[src]
pub fn is_finite(self) -> bool
[src]
pub fn is_normal(self) -> bool
[src]
pub fn classify(self) -> FpCategory
[src]
pub fn is_sign_positive(self) -> bool
[src]
pub fn is_sign_negative(self) -> bool
[src]
pub fn copysign(self, other: Self) -> Self
[src]
pub fn signum(self) -> Self
[src]
pub fn recip(self) -> Self
[src]
pub fn to_degrees(self) -> Self
[src]
pub fn to_radians(self) -> Self
[src]
impl P16E1
[src]
Trait Implementations
impl Polynom for P16E1
[src]
fn poly1(self, c: &[Self]) -> Self
[src]
fn poly2(self, c: &[Self]) -> Self
[src]
fn poly3(self, c: &[Self]) -> Self
[src]
fn poly4(self, c: &[Self]) -> Self
[src]
fn poly5(self, c: &[Self]) -> Self
[src]
fn poly6(self, c: &[Self]) -> Self
[src]
fn poly7(self, c: &[Self]) -> Self
[src]
fn poly8(self, c: &[Self]) -> Self
[src]
fn poly9(self, c: &[Self]) -> Self
[src]
fn poly10(self, c: &[Self]) -> Self
[src]
fn poly11(self, c: &[Self]) -> Self
[src]
fn poly12(self, c: &[Self]) -> Self
[src]
fn poly13(self, c: &[Self]) -> Self
[src]
fn poly14(self, c: &[Self]) -> Self
[src]
fn poly15(self, c: &[Self]) -> Self
[src]
fn poly16(self, c: &[Self]) -> Self
[src]
fn poly17(self, c: &[Self]) -> Self
[src]
fn poly18(self, c: &[Self]) -> Self
[src]
fn poly3a(self, c: &[Self]) -> Self
[src]
fn poly4a(self, c: &[Self]) -> Self
[src]
impl MathConsts for P16E1
[src]
const E: Self
[src]
const FRAC_1_PI: Self
[src]
const FRAC_1_SQRT_2: Self
[src]
const FRAC_2_PI: Self
[src]
const FRAC_2_SQRT_PI: Self
[src]
const FRAC_PI_2: Self
[src]
const FRAC_PI_3: Self
[src]
const FRAC_PI_4: Self
[src]
const FRAC_PI_6: Self
[src]
const FRAC_PI_8: Self
[src]
const LN_10: Self
[src]
const LN_2: Self
[src]
const LOG10_E: Self
[src]
const LOG2_E: Self
[src]
const PI: Self
[src]
const SQRT_2: Self
[src]
const LOG2_10: Self
[src]
const LOG10_2: Self
[src]
impl AssociatedQuire<P16E1> for P16E1
[src]
impl Quire<P16E1> for Q16E1
[src]
type Bits = [u64; 2]
fn init() -> Self
[src]
fn from_posit(p: P16E1) -> Self
[src]
fn to_posit(self) -> P16E1
[src]
fn from_bits(v: Self::Bits) -> Self
[src]
fn to_bits(&self) -> Self::Bits
[src]
fn is_zero(&self) -> bool
[src]
fn is_nar(&self) -> bool
[src]
fn add_product(&mut self, p_a: P16E1, p_b: P16E1)
[src]
fn sub_product(&mut self, p_a: P16E1, p_b: P16E1)
[src]
fn clear(&mut self)
[src]
fn neg(&mut self)
[src]
impl PartialEq<P16E1> for P16E1
[src]
impl Eq for P16E1
[src]
impl Ord for P16E1
[src]
fn cmp(&self, other: &P16E1) -> Ordering
[src]
fn max(self, other: Self) -> Self
1.21.0[src]
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
Compares and returns the minimum of two values. Read more
fn clamp(self, min: Self, max: Self) -> Self
[src]
clamp
)Restrict a value to a certain interval. Read more
impl PartialOrd<P16E1> for P16E1
[src]
fn partial_cmp(&self, other: &P16E1) -> Option<Ordering>
[src]
fn lt(&self, other: &P16E1) -> bool
[src]
fn le(&self, other: &P16E1) -> bool
[src]
fn gt(&self, other: &P16E1) -> bool
[src]
fn ge(&self, other: &P16E1) -> bool
[src]
impl Hash for P16E1
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Copy for P16E1
[src]
impl Add<P16E1> for P16E1
[src]
type Output = Self
The resulting type after applying the +
operator.
fn add(self, other: Self) -> Self
[src]
impl Sub<P16E1> for P16E1
[src]
type Output = Self
The resulting type after applying the -
operator.
fn sub(self, other: Self) -> Self
[src]
impl Mul<P16E1> for P16E1
[src]
type Output = Self
The resulting type after applying the *
operator.
fn mul(self, other: Self) -> Self
[src]
impl Div<P16E1> for P16E1
[src]
type Output = Self
The resulting type after applying the /
operator.
fn div(self, other: Self) -> Self
[src]
impl Rem<P16E1> for P16E1
[src]
type Output = Self
The resulting type after applying the %
operator.
fn rem(self, _other: Self) -> Self
[src]
impl Neg for P16E1
[src]
impl AddAssign<P16E1> for P16E1
[src]
fn add_assign(&mut self, other: Self)
[src]
impl SubAssign<P16E1> for P16E1
[src]
fn sub_assign(&mut self, other: Self)
[src]
impl MulAssign<P16E1> for P16E1
[src]
fn mul_assign(&mut self, other: Self)
[src]
impl DivAssign<P16E1> for P16E1
[src]
fn div_assign(&mut self, other: Self)
[src]
impl RemAssign<P16E1> for P16E1
[src]
fn rem_assign(&mut self, other: Self)
[src]
impl Debug for P16E1
[src]
impl Display for P16E1
[src]
impl FromStr for P16E1
[src]
type Err = ParseFloatError
The associated error which can be returned from parsing.
fn from_str(src: &str) -> Result<Self, ParseFloatError>
[src]
impl From<P16E1> for Q16E1
[src]
impl From<i8> for P16E1
[src]
impl From<P16E1> for i8
[src]
impl From<i16> for P16E1
[src]
impl From<P16E1> for i16
[src]
impl From<isize> for P16E1
[src]
impl From<P16E1> for isize
[src]
impl From<u8> for P16E1
[src]
impl From<P16E1> for u8
[src]
impl From<u16> for P16E1
[src]
impl From<P16E1> for u16
[src]
impl From<usize> for P16E1
[src]
impl From<P16E1> for usize
[src]
impl From<i32> for P16E1
[src]
impl From<u32> for P16E1
[src]
impl From<i64> for P16E1
[src]
impl From<u64> for P16E1
[src]
impl From<P16E1> for i32
[src]
impl From<P16E1> for i64
[src]
impl From<P16E1> for u32
[src]
impl From<P16E1> for u64
[src]
impl From<f32> for P16E1
[src]
impl From<f64> for P16E1
[src]
impl From<P16E1> for f32
[src]
impl From<P16E1> for f64
[src]
impl From<Q16E1> for P16E1
[src]
impl From<P8E0> for P16E1
[src]
impl From<P16E1> for P8E0
[src]
impl From<P16E1> for P32E2
[src]
impl From<P32E2> for P16E1
[src]
impl Clone for P16E1
[src]
fn clone(&self) -> P16E1
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Default for P16E1
[src]
impl AbsDiffEq<P16E1> for P16E1
[src]
type Epsilon = P16E1
Used for specifying relative comparisons.
fn default_epsilon() -> P16E1
[src]
fn abs_diff_eq(&self, other: &P16E1, epsilon: P16E1) -> bool
[src]
fn abs_diff_ne(&self, other: &Rhs, epsilon: Self::Epsilon) -> bool
[src]
The inverse of ApproxEq::abs_diff_eq
.
impl RelativeEq<P16E1> for P16E1
[src]
fn default_max_relative() -> P16E1
[src]
fn relative_eq(
&self,
other: &P16E1,
epsilon: P16E1,
max_relative: P16E1
) -> bool
[src]
&self,
other: &P16E1,
epsilon: P16E1,
max_relative: P16E1
) -> bool
fn relative_ne(
&self,
other: &Rhs,
epsilon: Self::Epsilon,
max_relative: Self::Epsilon
) -> bool
[src]
&self,
other: &Rhs,
epsilon: Self::Epsilon,
max_relative: Self::Epsilon
) -> bool
The inverse of ApproxEq::relative_eq
.
impl UlpsEq<P16E1> for P16E1
[src]
fn default_max_ulps() -> u32
[src]
fn ulps_eq(&self, other: &P16E1, epsilon: P16E1, max_ulps: u32) -> bool
[src]
fn ulps_ne(&self, other: &Rhs, epsilon: Self::Epsilon, max_ulps: u32) -> bool
[src]
The inverse of ApproxEq::ulps_eq
.
impl Bounded for P16E1
[src]
impl ToPrimitive for P16E1
[src]
fn to_i64(&self) -> Option<i64>
[src]
fn to_u64(&self) -> Option<u64>
[src]
fn to_f64(&self) -> Option<f64>
[src]
fn to_isize(&self) -> Option<isize>
[src]
Converts the value of self
to an isize
.
fn to_i8(&self) -> Option<i8>
[src]
Converts the value of self
to an i8
.
fn to_i16(&self) -> Option<i16>
[src]
Converts the value of self
to an i16
.
fn to_i32(&self) -> Option<i32>
[src]
Converts the value of self
to an i32
.
fn to_i128(&self) -> Option<i128>
[src]
Converts the value of self
to an i128
. Read more
fn to_usize(&self) -> Option<usize>
[src]
Converts the value of self
to a usize
.
fn to_u8(&self) -> Option<u8>
[src]
Converts the value of self
to an u8
.
fn to_u16(&self) -> Option<u16>
[src]
Converts the value of self
to an u16
.
fn to_u32(&self) -> Option<u32>
[src]
Converts the value of self
to an u32
.
fn to_u128(&self) -> Option<u128>
[src]
Converts the value of self
to an u128
. Read more
fn to_f32(&self) -> Option<f32>
[src]
Converts the value of self
to an f32
.
impl FromPrimitive for P16E1
[src]
fn from_i8(n: i8) -> Option<P16E1>
[src]
fn from_i16(n: i16) -> Option<P16E1>
[src]
fn from_i32(n: i32) -> Option<P16E1>
[src]
fn from_i64(n: i64) -> Option<P16E1>
[src]
fn from_u8(n: u8) -> Option<P16E1>
[src]
fn from_u16(n: u16) -> Option<P16E1>
[src]
fn from_u32(n: u32) -> Option<P16E1>
[src]
fn from_u64(n: u64) -> Option<P16E1>
[src]
fn from_f32(n: f32) -> Option<P16E1>
[src]
fn from_f64(n: f64) -> Option<P16E1>
[src]
fn from_isize(n: isize) -> Option<Self>
[src]
Convert an isize
to return an optional value of this type. If the value cannot be represented by this value, then None
is returned. Read more
fn from_i128(n: i128) -> Option<Self>
[src]
Convert an i128
to return an optional value of this type. If the type cannot be represented by this value, then None
is returned. Read more
fn from_usize(n: usize) -> Option<Self>
[src]
Convert a usize
to return an optional value of this type. If the type cannot be represented by this value, then None
is returned. Read more
fn from_u128(n: u128) -> Option<Self>
[src]
Convert an u128
to return an optional value of this type. If the type cannot be represented by this value, then None
is returned. Read more
impl NumCast for P16E1
[src]
fn from<N: ToPrimitive>(n: N) -> Option<Self>
[src]
impl Float for P16E1
[src]
fn nan() -> Self
[src]
fn infinity() -> Self
[src]
fn neg_infinity() -> Self
[src]
fn neg_zero() -> Self
[src]
fn min_value() -> Self
[src]
fn min_positive_value() -> Self
[src]
fn max_value() -> Self
[src]
fn is_nan(self) -> bool
[src]
fn is_infinite(self) -> bool
[src]
fn is_finite(self) -> bool
[src]
fn is_normal(self) -> bool
[src]
fn classify(self) -> FpCategory
[src]
fn floor(self) -> Self
[src]
fn ceil(self) -> Self
[src]
fn round(self) -> Self
[src]
fn trunc(self) -> Self
[src]
fn fract(self) -> Self
[src]
fn abs(self) -> Self
[src]
fn signum(self) -> Self
[src]
fn is_sign_positive(self) -> bool
[src]
fn is_sign_negative(self) -> bool
[src]
fn mul_add(self, a: Self, b: Self) -> Self
[src]
fn recip(self) -> Self
[src]
fn powi(self, n: i32) -> Self
[src]
fn powf(self, n: Self) -> Self
[src]
fn sqrt(self) -> Self
[src]
fn exp(self) -> Self
[src]
fn exp2(self) -> Self
[src]
fn ln(self) -> Self
[src]
fn log(self, base: Self) -> Self
[src]
fn log2(self) -> Self
[src]
fn log10(self) -> Self
[src]
fn max(self, other: Self) -> Self
[src]
fn min(self, other: Self) -> Self
[src]
fn abs_sub(self, _other: Self) -> Self
[src]
fn cbrt(self) -> Self
[src]
fn hypot(self, other: Self) -> Self
[src]
fn sin(self) -> Self
[src]
fn cos(self) -> Self
[src]
fn tan(self) -> Self
[src]
fn asin(self) -> Self
[src]
fn acos(self) -> Self
[src]
fn atan(self) -> Self
[src]
fn atan2(self, other: Self) -> Self
[src]
fn sin_cos(self) -> (Self, Self)
[src]
fn exp_m1(self) -> Self
[src]
fn ln_1p(self) -> Self
[src]
fn sinh(self) -> Self
[src]
fn cosh(self) -> Self
[src]
fn tanh(self) -> Self
[src]
fn asinh(self) -> Self
[src]
fn acosh(self) -> Self
[src]
fn atanh(self) -> Self
[src]
fn integer_decode(self) -> (u64, i16, i8)
[src]
fn epsilon() -> Self
[src]
Returns epsilon, a small positive value. Read more
fn to_degrees(self) -> Self
[src]
Converts radians to degrees. Read more
fn to_radians(self) -> Self
[src]
Converts degrees to radians. Read more
impl FloatConst for P16E1
[src]
fn E() -> Self
[src]
fn FRAC_1_PI() -> Self
[src]
fn FRAC_1_SQRT_2() -> Self
[src]
fn FRAC_2_PI() -> Self
[src]
fn FRAC_2_SQRT_PI() -> Self
[src]
fn FRAC_PI_2() -> Self
[src]
fn FRAC_PI_3() -> Self
[src]
fn FRAC_PI_4() -> Self
[src]
fn FRAC_PI_6() -> Self
[src]
fn FRAC_PI_8() -> Self
[src]
fn LN_10() -> Self
[src]
fn LN_2() -> Self
[src]
fn LOG10_E() -> Self
[src]
fn LOG2_E() -> Self
[src]
fn PI() -> Self
[src]
fn SQRT_2() -> Self
[src]
impl Num for P16E1
[src]
type FromStrRadixErr = ParseFloatError
fn from_str_radix(src: &str, radix: u32) -> Result<Self, Self::FromStrRadixErr>
[src]
impl Zero for P16E1
[src]
fn zero() -> Self
[src]
fn is_zero(&self) -> bool
[src]
fn set_zero(&mut self)
[src]
Sets self
to the additive identity element of Self
, 0
.
impl One for P16E1
[src]
fn one() -> Self
[src]
fn is_one(&self) -> bool
[src]
fn set_one(&mut self)
[src]
Sets self
to the multiplicative identity element of Self
, 1
.
impl Signed for P16E1
[src]
fn abs(&self) -> Self
[src]
fn abs_sub(&self, other: &Self) -> Self
[src]
fn signum(&self) -> Self
[src]
fn is_positive(&self) -> bool
[src]
fn is_negative(&self) -> bool
[src]
impl AbstractMagma<Additive> for P16E1
[src]
fn operate(&self, rhs: &Self) -> Self
[src]
fn op(&self, O, lhs: &Self) -> Self
[src]
Performs specific operation.
impl AbstractMagma<Multiplicative> for P16E1
[src]
fn operate(&self, rhs: &Self) -> Self
[src]
fn op(&self, O, lhs: &Self) -> Self
[src]
Performs specific operation.
impl AbstractQuasigroup<Additive> for P16E1
[src]
fn prop_inv_is_latin_square_approx(args: (Self, Self)) -> bool where
Self: RelativeEq<Self>,
[src]
Self: RelativeEq<Self>,
Returns true
if latin squareness holds for the given arguments. Approximate equality is used for verifications. Read more
fn prop_inv_is_latin_square(args: (Self, Self)) -> bool where
Self: Eq,
[src]
Self: Eq,
Returns true
if latin squareness holds for the given arguments. Read more
impl AbstractQuasigroup<Multiplicative> for P16E1
[src]
fn prop_inv_is_latin_square_approx(args: (Self, Self)) -> bool where
Self: RelativeEq<Self>,
[src]
Self: RelativeEq<Self>,
Returns true
if latin squareness holds for the given arguments. Approximate equality is used for verifications. Read more
fn prop_inv_is_latin_square(args: (Self, Self)) -> bool where
Self: Eq,
[src]
Self: Eq,
Returns true
if latin squareness holds for the given arguments. Read more
impl AbstractSemigroup<Additive> for P16E1
[src]
fn prop_is_associative_approx(args: (Self, Self, Self)) -> bool where
Self: RelativeEq<Self>,
[src]
Self: RelativeEq<Self>,
Returns true
if associativity holds for the given arguments. Approximate equality is used for verifications. Read more
fn prop_is_associative(args: (Self, Self, Self)) -> bool where
Self: Eq,
[src]
Self: Eq,
Returns true
if associativity holds for the given arguments.
impl AbstractSemigroup<Multiplicative> for P16E1
[src]
fn prop_is_associative_approx(args: (Self, Self, Self)) -> bool where
Self: RelativeEq<Self>,
[src]
Self: RelativeEq<Self>,
Returns true
if associativity holds for the given arguments. Approximate equality is used for verifications. Read more
fn prop_is_associative(args: (Self, Self, Self)) -> bool where
Self: Eq,
[src]
Self: Eq,
Returns true
if associativity holds for the given arguments.
impl AbstractLoop<Additive> for P16E1
[src]
impl AbstractLoop<Multiplicative> for P16E1
[src]
impl AbstractMonoid<Additive> for P16E1
[src]
fn prop_operating_identity_element_is_noop_approx(args: (Self,)) -> bool where
Self: RelativeEq<Self>,
[src]
Self: RelativeEq<Self>,
Checks whether operating with the identity element is a no-op for the given argument. Approximate equality is used for verifications. Read more
fn prop_operating_identity_element_is_noop(args: (Self,)) -> bool where
Self: Eq,
[src]
Self: Eq,
Checks whether operating with the identity element is a no-op for the given argument. Read more
impl AbstractMonoid<Multiplicative> for P16E1
[src]
fn prop_operating_identity_element_is_noop_approx(args: (Self,)) -> bool where
Self: RelativeEq<Self>,
[src]
Self: RelativeEq<Self>,
Checks whether operating with the identity element is a no-op for the given argument. Approximate equality is used for verifications. Read more
fn prop_operating_identity_element_is_noop(args: (Self,)) -> bool where
Self: Eq,
[src]
Self: Eq,
Checks whether operating with the identity element is a no-op for the given argument. Read more
impl AbstractGroup<Additive> for P16E1
[src]
impl AbstractGroup<Multiplicative> for P16E1
[src]
impl AbstractGroupAbelian<Additive> for P16E1
[src]
fn prop_is_commutative_approx(args: (Self, Self)) -> bool where
Self: RelativeEq<Self>,
[src]
Self: RelativeEq<Self>,
Returns true
if the operator is commutative for the given argument tuple. Approximate equality is used for verifications. Read more
fn prop_is_commutative(args: (Self, Self)) -> bool where
Self: Eq,
[src]
Self: Eq,
Returns true
if the operator is commutative for the given argument tuple.
impl AbstractGroupAbelian<Multiplicative> for P16E1
[src]
fn prop_is_commutative_approx(args: (Self, Self)) -> bool where
Self: RelativeEq<Self>,
[src]
Self: RelativeEq<Self>,
Returns true
if the operator is commutative for the given argument tuple. Approximate equality is used for verifications. Read more
fn prop_is_commutative(args: (Self, Self)) -> bool where
Self: Eq,
[src]
Self: Eq,
Returns true
if the operator is commutative for the given argument tuple.
impl TwoSidedInverse<Additive> for P16E1
[src]
fn two_sided_inverse(&self) -> Self
[src]
fn two_sided_inverse_mut(&mut self)
[src]
In-place inversion of self
, relative to the operator O
. Read more
impl TwoSidedInverse<Multiplicative> for P16E1
[src]
fn two_sided_inverse(&self) -> Self
[src]
fn two_sided_inverse_mut(&mut self)
[src]
In-place inversion of self
, relative to the operator O
. Read more
impl Identity<Additive> for P16E1
[src]
impl Identity<Multiplicative> for P16E1
[src]
impl ComplexField for P16E1
[src]
type RealField = P16E1
Type of the coefficients of a complex number.
fn from_real(re: Self::RealField) -> Self
[src]
fn real(self) -> Self::RealField
[src]
fn imaginary(self) -> Self::RealField
[src]
fn norm1(self) -> Self::RealField
[src]
fn modulus(self) -> Self::RealField
[src]
fn modulus_squared(self) -> Self::RealField
[src]
fn argument(self) -> Self::RealField
[src]
fn to_exp(self) -> (Self, Self)
[src]
fn recip(self) -> Self
[src]
fn conjugate(self) -> Self
[src]
fn scale(self, factor: Self::RealField) -> Self
[src]
fn unscale(self, factor: Self::RealField) -> Self
[src]
fn floor(self) -> Self
[src]
fn ceil(self) -> Self
[src]
fn round(self) -> Self
[src]
fn trunc(self) -> Self
[src]
fn fract(self) -> Self
[src]
fn abs(self) -> Self
[src]
fn signum(self) -> Self
[src]
fn mul_add(self, a: Self, b: Self) -> Self
[src]
fn powi(self, n: i32) -> Self
[src]
fn powf(self, n: Self) -> Self
[src]
fn powc(self, n: Self) -> Self
[src]
fn sqrt(self) -> Self
[src]
fn try_sqrt(self) -> Option<Self>
[src]
fn exp(self) -> Self
[src]
fn exp2(self) -> Self
[src]
fn exp_m1(self) -> Self
[src]
fn ln_1p(self) -> Self
[src]
fn ln(self) -> Self
[src]
fn log(self, base: Self) -> Self
[src]
fn log2(self) -> Self
[src]
fn log10(self) -> Self
[src]
fn cbrt(self) -> Self
[src]
fn hypot(self, other: Self) -> Self::RealField
[src]
fn sin(self) -> Self
[src]
fn cos(self) -> Self
[src]
fn tan(self) -> Self
[src]
fn asin(self) -> Self
[src]
fn acos(self) -> Self
[src]
fn atan(self) -> Self
[src]
fn sin_cos(self) -> (Self, Self)
[src]
fn sinh(self) -> Self
[src]
fn cosh(self) -> Self
[src]
fn tanh(self) -> Self
[src]
fn asinh(self) -> Self
[src]
fn acosh(self) -> Self
[src]
fn atanh(self) -> Self
[src]
fn is_finite(&self) -> bool
[src]
fn to_polar(self) -> (Self::RealField, Self::RealField)
[src]
The polar form of this complex number: (modulus, arg)
fn sinh_cosh(self) -> (Self, Self)
[src]
fn sinc(self) -> Self
[src]
Cardinal sine
fn sinhc(self) -> Self
[src]
fn cosc(self) -> Self
[src]
Cardinal cos
fn coshc(self) -> Self
[src]
impl RealField for P16E1
[src]
fn is_sign_positive(self) -> bool
[src]
fn is_sign_negative(self) -> bool
[src]
fn max(self, other: Self) -> Self
[src]
fn min(self, other: Self) -> Self
[src]
fn atan2(self, other: Self) -> Self
[src]
fn pi() -> Self
[src]
Archimedes' constant.
fn two_pi() -> Self
[src]
fn frac_pi_2() -> Self
[src]
pi / 2.0.
fn frac_pi_3() -> Self
[src]
pi / 3.0.
fn frac_pi_4() -> Self
[src]
pi / 4.0.
fn frac_pi_6() -> Self
[src]
pi / 6.0.
fn frac_pi_8() -> Self
[src]
pi / 8.0.
fn frac_1_pi() -> Self
[src]
fn frac_2_pi() -> Self
[src]
fn frac_2_sqrt_pi() -> Self
[src]
2.0 / sqrt(pi).
fn e() -> Self
[src]
Euler's number.
fn log2_e() -> Self
[src]
log2(e).
fn log10_e() -> Self
[src]
log10(e).
fn ln_2() -> Self
[src]
ln(2.0).
fn ln_10() -> Self
[src]
ln(10.0).
impl JoinSemilattice for P16E1
[src]
impl SubsetOf<P16E1> for u8
[src]
fn to_superset(&self) -> P16E1
[src]
unsafe fn from_superset_unchecked(element: &P16E1) -> u8
[src]
fn is_in_subset(_: &P16E1) -> bool
[src]
fn from_superset(element: &T) -> Option<Self>
[src]
The inverse inclusion map: attempts to construct self
from the equivalent element of its superset. Read more
impl SubsetOf<P16E1> for u16
[src]
fn to_superset(&self) -> P16E1
[src]
unsafe fn from_superset_unchecked(element: &P16E1) -> u16
[src]
fn is_in_subset(_: &P16E1) -> bool
[src]
fn from_superset(element: &T) -> Option<Self>
[src]
The inverse inclusion map: attempts to construct self
from the equivalent element of its superset. Read more
impl SubsetOf<P16E1> for u32
[src]
fn to_superset(&self) -> P16E1
[src]
unsafe fn from_superset_unchecked(element: &P16E1) -> u32
[src]
fn is_in_subset(_: &P16E1) -> bool
[src]
fn from_superset(element: &T) -> Option<Self>
[src]
The inverse inclusion map: attempts to construct self
from the equivalent element of its superset. Read more
impl SubsetOf<P16E1> for u64
[src]
fn to_superset(&self) -> P16E1
[src]
unsafe fn from_superset_unchecked(element: &P16E1) -> u64
[src]
fn is_in_subset(_: &P16E1) -> bool
[src]
fn from_superset(element: &T) -> Option<Self>
[src]
The inverse inclusion map: attempts to construct self
from the equivalent element of its superset. Read more
impl SubsetOf<P16E1> for usize
[src]
fn to_superset(&self) -> P16E1
[src]
unsafe fn from_superset_unchecked(element: &P16E1) -> usize
[src]
fn is_in_subset(_: &P16E1) -> bool
[src]
fn from_superset(element: &T) -> Option<Self>
[src]
The inverse inclusion map: attempts to construct self
from the equivalent element of its superset. Read more
impl SubsetOf<P16E1> for i8
[src]
fn to_superset(&self) -> P16E1
[src]
unsafe fn from_superset_unchecked(element: &P16E1) -> i8
[src]
fn is_in_subset(_: &P16E1) -> bool
[src]
fn from_superset(element: &T) -> Option<Self>
[src]
The inverse inclusion map: attempts to construct self
from the equivalent element of its superset. Read more
impl SubsetOf<P16E1> for i16
[src]
fn to_superset(&self) -> P16E1
[src]
unsafe fn from_superset_unchecked(element: &P16E1) -> i16
[src]
fn is_in_subset(_: &P16E1) -> bool
[src]
fn from_superset(element: &T) -> Option<Self>
[src]
The inverse inclusion map: attempts to construct self
from the equivalent element of its superset. Read more
impl SubsetOf<P16E1> for i32
[src]
fn to_superset(&self) -> P16E1
[src]
unsafe fn from_superset_unchecked(element: &P16E1) -> i32
[src]
fn is_in_subset(_: &P16E1) -> bool
[src]
fn from_superset(element: &T) -> Option<Self>
[src]
The inverse inclusion map: attempts to construct self
from the equivalent element of its superset. Read more
impl SubsetOf<P16E1> for i64
[src]
fn to_superset(&self) -> P16E1
[src]
unsafe fn from_superset_unchecked(element: &P16E1) -> i64
[src]
fn is_in_subset(_: &P16E1) -> bool
[src]
fn from_superset(element: &T) -> Option<Self>
[src]
The inverse inclusion map: attempts to construct self
from the equivalent element of its superset. Read more
impl SubsetOf<P16E1> for isize
[src]
fn to_superset(&self) -> P16E1
[src]
unsafe fn from_superset_unchecked(element: &P16E1) -> isize
[src]
fn is_in_subset(_: &P16E1) -> bool
[src]
fn from_superset(element: &T) -> Option<Self>
[src]
The inverse inclusion map: attempts to construct self
from the equivalent element of its superset. Read more
impl SubsetOf<P16E1> for f32
[src]
fn to_superset(&self) -> P16E1
[src]
unsafe fn from_superset_unchecked(element: &P16E1) -> f32
[src]
fn is_in_subset(_: &P16E1) -> bool
[src]
fn from_superset(element: &T) -> Option<Self>
[src]
The inverse inclusion map: attempts to construct self
from the equivalent element of its superset. Read more
impl SubsetOf<P16E1> for f64
[src]
fn to_superset(&self) -> P16E1
[src]
unsafe fn from_superset_unchecked(element: &P16E1) -> f64
[src]
fn is_in_subset(_: &P16E1) -> bool
[src]
fn from_superset(element: &T) -> Option<Self>
[src]
The inverse inclusion map: attempts to construct self
from the equivalent element of its superset. Read more
impl SubsetOf<P16E1> for P8E0
[src]
fn to_superset(&self) -> P16E1
[src]
unsafe fn from_superset_unchecked(element: &P16E1) -> P8E0
[src]
fn is_in_subset(_: &P16E1) -> bool
[src]
fn from_superset(element: &T) -> Option<Self>
[src]
The inverse inclusion map: attempts to construct self
from the equivalent element of its superset. Read more
impl SubsetOf<P8E0> for P16E1
[src]
fn to_superset(&self) -> P8E0
[src]
unsafe fn from_superset_unchecked(element: &P8E0) -> P16E1
[src]
fn is_in_subset(_: &P8E0) -> bool
[src]
fn from_superset(element: &T) -> Option<Self>
[src]
The inverse inclusion map: attempts to construct self
from the equivalent element of its superset. Read more
impl SubsetOf<P16E1> for P16E1
[src]
fn to_superset(&self) -> P16E1
[src]
unsafe fn from_superset_unchecked(element: &P16E1) -> P16E1
[src]
fn is_in_subset(_: &P16E1) -> bool
[src]
fn from_superset(element: &T) -> Option<Self>
[src]
The inverse inclusion map: attempts to construct self
from the equivalent element of its superset. Read more
impl SubsetOf<P32E2> for P16E1
[src]
fn to_superset(&self) -> P32E2
[src]
unsafe fn from_superset_unchecked(element: &P32E2) -> P16E1
[src]
fn is_in_subset(_: &P32E2) -> bool
[src]
fn from_superset(element: &T) -> Option<Self>
[src]
The inverse inclusion map: attempts to construct self
from the equivalent element of its superset. Read more
impl SubsetOf<P16E1> for P32E2
[src]
fn to_superset(&self) -> P16E1
[src]
unsafe fn from_superset_unchecked(element: &P16E1) -> P32E2
[src]
fn is_in_subset(_: &P16E1) -> bool
[src]
fn from_superset(element: &T) -> Option<Self>
[src]
The inverse inclusion map: attempts to construct self
from the equivalent element of its superset. Read more
impl MeetSemilattice for P16E1
[src]
impl Lattice for P16E1
[src]
fn meet_join(&self, other: &Self) -> (Self, Self)
[src]
fn partial_min(&'a self, other: &'a Self) -> Option<&'a Self>
[src]
Return the minimum of self
and other
if they are comparable.
fn partial_max(&'a self, other: &'a Self) -> Option<&'a Self>
[src]
Return the maximum of self
and other
if they are comparable.
fn partial_sort2(&'a self, other: &'a Self) -> Option<(&'a Self, &'a Self)>
[src]
Sorts two values in increasing order using a partial ordering.
fn partial_clamp(&'a self, min: &'a Self, max: &'a Self) -> Option<&'a Self>
[src]
Clamp value
between min
and max
. Returns None
if value
is not comparable to min
or max
. Read more
impl AbstractRingCommutative<Additive, Multiplicative> for P16E1
[src]
fn prop_mul_is_commutative_approx(args: (Self, Self)) -> bool where
Self: RelativeEq<Self>,
[src]
Self: RelativeEq<Self>,
Returns true
if the multiplication operator is commutative for the given argument tuple. Approximate equality is used for verifications. Read more
fn prop_mul_is_commutative(args: (Self, Self)) -> bool where
Self: Eq,
[src]
Self: Eq,
Returns true
if the multiplication operator is commutative for the given argument tuple.
impl AbstractField<Additive, Multiplicative> for P16E1
[src]
impl AbstractRing<Additive, Multiplicative> for P16E1
[src]
fn prop_mul_and_add_are_distributive_approx(args: (Self, Self, Self)) -> bool where
Self: RelativeEq<Self>,
[src]
Self: RelativeEq<Self>,
Returns true
if the multiplication and addition operators are distributive for the given argument tuple. Approximate equality is used for verifications. Read more
fn prop_mul_and_add_are_distributive(args: (Self, Self, Self)) -> bool where
Self: Eq,
[src]
Self: Eq,
Returns true
if the multiplication and addition operators are distributive for the given argument tuple. Read more
impl Distribution<P16E1> for Standard
[src]
Auto Trait Implementations
Blanket Implementations
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T> Real for T where
T: Float,
[src]
T: Float,
fn min_value() -> T
[src]
fn min_positive_value() -> T
[src]
fn epsilon() -> T
[src]
fn max_value() -> T
[src]
fn floor(self) -> T
[src]
fn ceil(self) -> T
[src]
fn round(self) -> T
[src]
fn trunc(self) -> T
[src]
fn fract(self) -> T
[src]
fn abs(self) -> T
[src]
fn signum(self) -> T
[src]
fn is_sign_positive(self) -> bool
[src]
fn is_sign_negative(self) -> bool
[src]
fn mul_add(self, a: T, b: T) -> T
[src]
fn recip(self) -> T
[src]
fn powi(self, n: i32) -> T
[src]
fn powf(self, n: T) -> T
[src]
fn sqrt(self) -> T
[src]
fn exp(self) -> T
[src]
fn exp2(self) -> T
[src]
fn ln(self) -> T
[src]
fn log(self, base: T) -> T
[src]
fn log2(self) -> T
[src]
fn log10(self) -> T
[src]
fn to_degrees(self) -> T
[src]
fn to_radians(self) -> T
[src]
fn max(self, other: T) -> T
[src]
fn min(self, other: T) -> T
[src]
fn abs_sub(self, other: T) -> T
[src]
fn cbrt(self) -> T
[src]
fn hypot(self, other: T) -> T
[src]
fn sin(self) -> T
[src]
fn cos(self) -> T
[src]
fn tan(self) -> T
[src]
fn asin(self) -> T
[src]
fn acos(self) -> T
[src]
fn atan(self) -> T
[src]
fn atan2(self, other: T) -> T
[src]
fn sin_cos(self) -> (T, T)
[src]
fn exp_m1(self) -> T
[src]
fn ln_1p(self) -> T
[src]
fn sinh(self) -> T
[src]
fn cosh(self) -> T
[src]
fn tanh(self) -> T
[src]
fn asinh(self) -> T
[src]
fn acosh(self) -> T
[src]
fn atanh(self) -> T
[src]
impl<T, Rhs, Output> NumOps<Rhs, Output> for T where
T: Sub<Rhs, Output = Output> + Mul<Rhs, Output = Output> + Div<Rhs, Output = Output> + Add<Rhs, Output = Output> + Rem<Rhs, Output = Output>,
[src]
T: Sub<Rhs, Output = Output> + Mul<Rhs, Output = Output> + Div<Rhs, Output = Output> + Add<Rhs, Output = Output> + Rem<Rhs, Output = Output>,
impl<T, Rhs> NumAssignOps<Rhs> for T where
T: AddAssign<Rhs> + SubAssign<Rhs> + MulAssign<Rhs> + DivAssign<Rhs> + RemAssign<Rhs>,
[src]
T: AddAssign<Rhs> + SubAssign<Rhs> + MulAssign<Rhs> + DivAssign<Rhs> + RemAssign<Rhs>,
impl<T> NumAssign for T where
T: Num + NumAssignOps<T>,
[src]
T: Num + NumAssignOps<T>,
impl<T> ClosedNeg for T where
T: Neg<Output = T>,
[src]
T: Neg<Output = T>,
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
SS: SubsetOf<SP>,
fn to_subset(&self) -> Option<SS>
[src]
fn is_in_subset(&self) -> bool
[src]
unsafe fn to_subset_unchecked(&self) -> SS
[src]
fn from_subset(element: &SS) -> SP
[src]
impl<T> Field for T where
T: AbstractField<Additive, Multiplicative> + MultiplicativeGroupAbelian + RingCommutative,
[src]
T: AbstractField<Additive, Multiplicative> + MultiplicativeGroupAbelian + RingCommutative,
impl<T, Right> ClosedAdd<Right> for T where
T: Add<Right, Output = T> + AddAssign<Right>,
[src]
T: Add<Right, Output = T> + AddAssign<Right>,
impl<T, Right> ClosedSub<Right> for T where
T: Sub<Right, Output = T> + SubAssign<Right>,
[src]
T: Sub<Right, Output = T> + SubAssign<Right>,
impl<T, Right> ClosedMul<Right> for T where
T: Mul<Right, Output = T> + MulAssign<Right>,
[src]
T: Mul<Right, Output = T> + MulAssign<Right>,
impl<T, Right> ClosedDiv<Right> for T where
T: Div<Right, Output = T> + DivAssign<Right>,
[src]
T: Div<Right, Output = T> + DivAssign<Right>,
impl<T> AdditiveMagma for T where
T: AbstractMagma<Additive>,
[src]
T: AbstractMagma<Additive>,
impl<T> AdditiveQuasigroup for T where
T: AbstractQuasigroup<Additive> + ClosedSub<T> + AdditiveMagma,
[src]
T: AbstractQuasigroup<Additive> + ClosedSub<T> + AdditiveMagma,
impl<T> AdditiveLoop for T where
T: AbstractLoop<Additive> + ClosedNeg + AdditiveQuasigroup + Zero,
[src]
T: AbstractLoop<Additive> + ClosedNeg + AdditiveQuasigroup + Zero,
impl<T> AdditiveSemigroup for T where
T: AbstractSemigroup<Additive> + ClosedAdd<T> + AdditiveMagma,
[src]
T: AbstractSemigroup<Additive> + ClosedAdd<T> + AdditiveMagma,
impl<T> AdditiveMonoid for T where
T: AbstractMonoid<Additive> + AdditiveSemigroup + Zero,
[src]
T: AbstractMonoid<Additive> + AdditiveSemigroup + Zero,
impl<T> AdditiveGroup for T where
T: AbstractGroup<Additive> + AdditiveLoop + AdditiveMonoid,
[src]
T: AbstractGroup<Additive> + AdditiveLoop + AdditiveMonoid,
impl<T> AdditiveGroupAbelian for T where
T: AbstractGroupAbelian<Additive> + AdditiveGroup,
[src]
T: AbstractGroupAbelian<Additive> + AdditiveGroup,
impl<T> MultiplicativeMagma for T where
T: AbstractMagma<Multiplicative>,
[src]
T: AbstractMagma<Multiplicative>,
impl<T> MultiplicativeQuasigroup for T where
T: AbstractQuasigroup<Multiplicative> + ClosedDiv<T> + MultiplicativeMagma,
[src]
T: AbstractQuasigroup<Multiplicative> + ClosedDiv<T> + MultiplicativeMagma,
impl<T> MultiplicativeLoop for T where
T: AbstractLoop<Multiplicative> + MultiplicativeQuasigroup + One,
[src]
T: AbstractLoop<Multiplicative> + MultiplicativeQuasigroup + One,
impl<T> MultiplicativeSemigroup for T where
T: AbstractSemigroup<Multiplicative> + ClosedMul<T> + MultiplicativeMagma,
[src]
T: AbstractSemigroup<Multiplicative> + ClosedMul<T> + MultiplicativeMagma,
impl<T> MultiplicativeMonoid for T where
T: AbstractMonoid<Multiplicative> + MultiplicativeSemigroup + One,
[src]
T: AbstractMonoid<Multiplicative> + MultiplicativeSemigroup + One,
impl<T> MultiplicativeGroup for T where
T: AbstractGroup<Multiplicative> + MultiplicativeLoop + MultiplicativeMonoid,
[src]
T: AbstractGroup<Multiplicative> + MultiplicativeLoop + MultiplicativeMonoid,
impl<T> MultiplicativeGroupAbelian for T where
T: AbstractGroupAbelian<Multiplicative> + MultiplicativeGroup,
[src]
T: AbstractGroupAbelian<Multiplicative> + MultiplicativeGroup,
impl<T> Ring for T where
T: AbstractRing<Additive, Multiplicative> + AdditiveGroupAbelian + MultiplicativeMonoid,
[src]
T: AbstractRing<Additive, Multiplicative> + AdditiveGroupAbelian + MultiplicativeMonoid,
impl<T> RingCommutative for T where
T: AbstractRingCommutative<Additive, Multiplicative> + Ring,
[src]
T: AbstractRingCommutative<Additive, Multiplicative> + Ring,
impl<T> Real for T where
T: RealField,
[src]
T: RealField,
impl<R, E> Similarity<E> for R where
E: EuclideanSpace<RealField = R>,
R: RealField + SubsetOf<R>,
<E as EuclideanSpace>::Coordinates: ClosedMul<R>,
<E as EuclideanSpace>::Coordinates: ClosedDiv<R>,
<E as EuclideanSpace>::Coordinates: ClosedNeg,
[src]
E: EuclideanSpace<RealField = R>,
R: RealField + SubsetOf<R>,
<E as EuclideanSpace>::Coordinates: ClosedMul<R>,
<E as EuclideanSpace>::Coordinates: ClosedDiv<R>,
<E as EuclideanSpace>::Coordinates: ClosedNeg,
type Scaling = R
The type of the pure (uniform) scaling part of this similarity transformation.
fn translation(&self) -> <R as AffineTransformation<E>>::Translation
[src]
fn rotation(&self) -> <R as AffineTransformation<E>>::Rotation
[src]
fn scaling(&self) -> <R as Similarity<E>>::Scaling
[src]
fn translate_point(&self, pt: &E) -> E
[src]
Applies this transformation's pure translational part to a point.
fn rotate_point(&self, pt: &E) -> E
[src]
Applies this transformation's pure rotational part to a point.
fn scale_point(&self, pt: &E) -> E
[src]
Applies this transformation's pure scaling part to a point.
fn rotate_vector(
&self,
pt: &<E as EuclideanSpace>::Coordinates
) -> <E as EuclideanSpace>::Coordinates
[src]
&self,
pt: &<E as EuclideanSpace>::Coordinates
) -> <E as EuclideanSpace>::Coordinates
Applies this transformation's pure rotational part to a vector.
fn scale_vector(
&self,
pt: &<E as EuclideanSpace>::Coordinates
) -> <E as EuclideanSpace>::Coordinates
[src]
&self,
pt: &<E as EuclideanSpace>::Coordinates
) -> <E as EuclideanSpace>::Coordinates
Applies this transformation's pure scaling part to a vector.
fn inverse_translate_point(&self, pt: &E) -> E
[src]
Applies this transformation inverse's pure translational part to a point.
fn inverse_rotate_point(&self, pt: &E) -> E
[src]
Applies this transformation inverse's pure rotational part to a point.
fn inverse_scale_point(&self, pt: &E) -> E
[src]
Applies this transformation inverse's pure scaling part to a point.
fn inverse_rotate_vector(
&self,
pt: &<E as EuclideanSpace>::Coordinates
) -> <E as EuclideanSpace>::Coordinates
[src]
&self,
pt: &<E as EuclideanSpace>::Coordinates
) -> <E as EuclideanSpace>::Coordinates
Applies this transformation inverse's pure rotational part to a vector.
fn inverse_scale_vector(
&self,
pt: &<E as EuclideanSpace>::Coordinates
) -> <E as EuclideanSpace>::Coordinates
[src]
&self,
pt: &<E as EuclideanSpace>::Coordinates
) -> <E as EuclideanSpace>::Coordinates
Applies this transformation inverse's pure scaling part to a vector.
impl<R, E> Scaling<E> for R where
E: EuclideanSpace<RealField = R>,
R: RealField + SubsetOf<R>,
<E as EuclideanSpace>::Coordinates: ClosedMul<R>,
<E as EuclideanSpace>::Coordinates: ClosedDiv<R>,
<E as EuclideanSpace>::Coordinates: ClosedNeg,
[src]
E: EuclideanSpace<RealField = R>,
R: RealField + SubsetOf<R>,
<E as EuclideanSpace>::Coordinates: ClosedMul<R>,
<E as EuclideanSpace>::Coordinates: ClosedDiv<R>,
<E as EuclideanSpace>::Coordinates: ClosedNeg,
fn to_real(&self) -> <E as EuclideanSpace>::RealField
[src]
fn from_real(r: <E as EuclideanSpace>::RealField) -> Option<R>
[src]
fn powf(&self, n: <E as EuclideanSpace>::RealField) -> Option<R>
[src]
fn scale_between(
a: &<E as EuclideanSpace>::Coordinates,
b: &<E as EuclideanSpace>::Coordinates
) -> Option<R>
[src]
a: &<E as EuclideanSpace>::Coordinates,
b: &<E as EuclideanSpace>::Coordinates
) -> Option<R>
impl<R, E> ProjectiveTransformation<E> for R where
E: EuclideanSpace<RealField = R>,
R: RealField,
<E as EuclideanSpace>::Coordinates: ClosedMul<R>,
<E as EuclideanSpace>::Coordinates: ClosedDiv<R>,
<E as EuclideanSpace>::Coordinates: ClosedNeg,
[src]
E: EuclideanSpace<RealField = R>,
R: RealField,
<E as EuclideanSpace>::Coordinates: ClosedMul<R>,
<E as EuclideanSpace>::Coordinates: ClosedDiv<R>,
<E as EuclideanSpace>::Coordinates: ClosedNeg,
fn inverse_transform_point(&self, pt: &E) -> E
[src]
fn inverse_transform_vector(
&self,
v: &<E as EuclideanSpace>::Coordinates
) -> <E as EuclideanSpace>::Coordinates
[src]
&self,
v: &<E as EuclideanSpace>::Coordinates
) -> <E as EuclideanSpace>::Coordinates
impl<R, E> Transformation<E> for R where
E: EuclideanSpace<RealField = R>,
R: RealField,
<E as EuclideanSpace>::Coordinates: ClosedMul<R>,
<E as EuclideanSpace>::Coordinates: ClosedDiv<R>,
<E as EuclideanSpace>::Coordinates: ClosedNeg,
[src]
E: EuclideanSpace<RealField = R>,
R: RealField,
<E as EuclideanSpace>::Coordinates: ClosedMul<R>,
<E as EuclideanSpace>::Coordinates: ClosedDiv<R>,
<E as EuclideanSpace>::Coordinates: ClosedNeg,
fn transform_point(&self, pt: &E) -> E
[src]
fn transform_vector(
&self,
v: &<E as EuclideanSpace>::Coordinates
) -> <E as EuclideanSpace>::Coordinates
[src]
&self,
v: &<E as EuclideanSpace>::Coordinates
) -> <E as EuclideanSpace>::Coordinates
impl<R, E> AffineTransformation<E> for R where
E: EuclideanSpace<RealField = R>,
R: RealField,
<E as EuclideanSpace>::Coordinates: ClosedMul<R>,
<E as EuclideanSpace>::Coordinates: ClosedDiv<R>,
<E as EuclideanSpace>::Coordinates: ClosedNeg,
[src]
E: EuclideanSpace<RealField = R>,
R: RealField,
<E as EuclideanSpace>::Coordinates: ClosedMul<R>,
<E as EuclideanSpace>::Coordinates: ClosedDiv<R>,
<E as EuclideanSpace>::Coordinates: ClosedNeg,
type Rotation = Id<Multiplicative>
Type of the first rotation to be applied.
type NonUniformScaling = R
Type of the non-uniform scaling to be applied.
type Translation = Id<Multiplicative>
The type of the pure translation part of this affine transformation.
fn decompose(
&self
) -> (Id<Multiplicative>, Id<Multiplicative>, R, Id<Multiplicative>)
[src]
&self
) -> (Id<Multiplicative>, Id<Multiplicative>, R, Id<Multiplicative>)
fn append_translation(&self, &<R as AffineTransformation<E>>::Translation) -> R
[src]
fn prepend_translation(&self, &<R as AffineTransformation<E>>::Translation) -> R
[src]
fn append_rotation(&self, &<R as AffineTransformation<E>>::Rotation) -> R
[src]
fn prepend_rotation(&self, &<R as AffineTransformation<E>>::Rotation) -> R
[src]
fn append_scaling(
&self,
s: &<R as AffineTransformation<E>>::NonUniformScaling
) -> R
[src]
&self,
s: &<R as AffineTransformation<E>>::NonUniformScaling
) -> R
fn prepend_scaling(
&self,
s: &<R as AffineTransformation<E>>::NonUniformScaling
) -> R
[src]
&self,
s: &<R as AffineTransformation<E>>::NonUniformScaling
) -> R
fn append_rotation_wrt_point(&self, r: &Self::Rotation, p: &E) -> Option<Self>
[src]
Appends to this similarity a rotation centered at the point p
, i.e., this point is left invariant. Read more
impl<T> Scalar for T where
T: Copy + PartialEq<T> + Any + Debug,
[src]
T: Copy + PartialEq<T> + Any + Debug,
impl<T> Same<T> for T
type Output = T
Should always be Self