pub union DualNumber {
    /* private fields */
}

Implementations§

source§

impl DualNumber

source

pub const fn new(scalar: f32, e01: f32) -> Self

source

pub const fn from_groups(g0: Simd32x2) -> Self

source

pub fn group0(&self) -> Simd32x2

source

pub fn group0_mut(&mut self) -> &mut Simd32x2

Trait Implementations§

source§

impl Add<DualNumber> for DualNumber

§

type Output = DualNumber

The resulting type after applying the + operator.
source§

fn add(self, other: DualNumber) -> DualNumber

Performs the + operation. Read more
source§

impl Add<DualNumber> for f32

§

type Output = DualNumber

The resulting type after applying the + operator.
source§

fn add(self, other: DualNumber) -> DualNumber

Performs the + operation. Read more
source§

impl Add<f32> for DualNumber

§

type Output = DualNumber

The resulting type after applying the + operator.
source§

fn add(self, other: f32) -> DualNumber

Performs the + operation. Read more
source§

impl AddAssign<DualNumber> for DualNumber

source§

fn add_assign(&mut self, other: DualNumber)

Performs the += operation. Read more
source§

impl AddAssign<f32> for DualNumber

source§

fn add_assign(&mut self, other: f32)

Performs the += operation. Read more
source§

impl Automorphism for DualNumber

source§

impl Clone for DualNumber

source§

fn clone(&self) -> DualNumber

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Conjugation for DualNumber

source§

impl Debug for DualNumber

source§

fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Div<DualNumber> for DualNumber

§

type Output = DualNumber

The resulting type after applying the / operator.
source§

fn div(self, other: DualNumber) -> DualNumber

Performs the / operation. Read more
source§

impl DivAssign<DualNumber> for DualNumber

source§

fn div_assign(&mut self, other: DualNumber)

Performs the /= operation. Read more
source§

impl Dual for DualNumber

source§

impl From<[f32; 2]> for DualNumber

source§

fn from(array: [f32; 2]) -> Self

Converts to this type from the input type.
source§

impl From<DualNumber> for [f32; 2]

source§

fn from(vector: DualNumber) -> Self

Converts to this type from the input type.
source§

impl GeometricProduct<DualNumber> for DualNumber

source§

impl GeometricProduct<DualNumber> for f32

source§

impl GeometricProduct<f32> for DualNumber

source§

impl GeometricQuotient<DualNumber> for DualNumber

source§

impl GeometricQuotient<DualNumber> for f32

source§

impl GeometricQuotient<f32> for DualNumber

source§

impl Index<usize> for DualNumber

§

type Output = f32

The returned type after indexing.
source§

fn index(&self, index: usize) -> &Self::Output

Performs the indexing (container[index]) operation. Read more
source§

impl IndexMut<usize> for DualNumber

source§

fn index_mut(&mut self, index: usize) -> &mut Self::Output

Performs the mutable indexing (container[index]) operation. Read more
source§

impl InnerProduct<DualNumber> for DualNumber

source§

impl InnerProduct<DualNumber> for f32

source§

impl InnerProduct<f32> for DualNumber

source§

impl Into<f32> for DualNumber

source§

fn into(self) -> f32

Converts this type into the (usually inferred) input type.
source§

impl Inverse for DualNumber

source§

impl LeftContraction<DualNumber> for DualNumber

source§

impl LeftContraction<DualNumber> for f32

source§

impl LeftContraction<f32> for DualNumber

§

type Output = f32

source§

fn left_contraction(self, other: f32) -> f32

source§

impl Magnitude for DualNumber

§

type Output = f32

source§

fn magnitude(self) -> f32

source§

impl Mul<DualNumber> for DualNumber

§

type Output = DualNumber

The resulting type after applying the * operator.
source§

fn mul(self, other: DualNumber) -> DualNumber

Performs the * operation. Read more
source§

impl Mul<f32> for DualNumber

§

type Output = DualNumber

The resulting type after applying the * operator.
source§

fn mul(self, other: f32) -> DualNumber

Performs the * operation. Read more
source§

impl MulAssign<DualNumber> for DualNumber

source§

fn mul_assign(&mut self, other: DualNumber)

Performs the *= operation. Read more
source§

impl MulAssign<f32> for DualNumber

source§

fn mul_assign(&mut self, other: f32)

Performs the *= operation. Read more
source§

impl Neg for DualNumber

§

type Output = DualNumber

The resulting type after applying the - operator.
source§

fn neg(self) -> DualNumber

Performs the unary - operation. Read more
source§

impl One for DualNumber

source§

fn one() -> Self

source§

impl OuterProduct<DualNumber> for DualNumber

source§

impl OuterProduct<DualNumber> for f32

source§

impl OuterProduct<f32> for DualNumber

source§

impl Powi for DualNumber

§

type Output = DualNumber

source§

fn powi(self, exponent: isize) -> DualNumber

source§

impl RegressiveProduct<DualNumber> for DualNumber

source§

impl RegressiveProduct<DualNumber> for f32

source§

impl RegressiveProduct<f32> for DualNumber

§

type Output = f32

source§

fn regressive_product(self, other: f32) -> f32

source§

impl Reversal for DualNumber

source§

impl RightContraction<DualNumber> for DualNumber

source§

impl RightContraction<DualNumber> for f32

source§

impl RightContraction<f32> for DualNumber

source§

impl ScalarProduct<DualNumber> for DualNumber

source§

impl ScalarProduct<DualNumber> for f32

source§

impl ScalarProduct<f32> for DualNumber

§

type Output = f32

source§

fn scalar_product(self, other: f32) -> f32

source§

impl Signum for DualNumber

source§

impl SquaredMagnitude for DualNumber

source§

impl Sub<DualNumber> for DualNumber

§

type Output = DualNumber

The resulting type after applying the - operator.
source§

fn sub(self, other: DualNumber) -> DualNumber

Performs the - operation. Read more
source§

impl Sub<DualNumber> for f32

§

type Output = DualNumber

The resulting type after applying the - operator.
source§

fn sub(self, other: DualNumber) -> DualNumber

Performs the - operation. Read more
source§

impl Sub<f32> for DualNumber

§

type Output = DualNumber

The resulting type after applying the - operator.
source§

fn sub(self, other: f32) -> DualNumber

Performs the - operation. Read more
source§

impl SubAssign<DualNumber> for DualNumber

source§

fn sub_assign(&mut self, other: DualNumber)

Performs the -= operation. Read more
source§

impl SubAssign<f32> for DualNumber

source§

fn sub_assign(&mut self, other: f32)

Performs the -= operation. Read more
source§

impl Transformation<DualNumber> for DualNumber

source§

impl Transformation<DualNumber> for f32

source§

impl Transformation<f32> for DualNumber

§

type Output = f32

source§

fn transformation(self, other: f32) -> f32

source§

impl Zero for DualNumber

source§

fn zero() -> Self

source§

impl Copy for DualNumber

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.