Union geometric_algebra::ppga1d::DualNumber
source · pub union DualNumber {
/* private fields */
}
Implementations§
Trait Implementations§
source§impl Add<DualNumber> for DualNumber
impl Add<DualNumber> for DualNumber
§type Output = DualNumber
type Output = DualNumber
The resulting type after applying the
+
operator.source§fn add(self, other: DualNumber) -> DualNumber
fn add(self, other: DualNumber) -> DualNumber
Performs the
+
operation. Read moresource§impl Add<DualNumber> for f32
impl Add<DualNumber> for f32
§type Output = DualNumber
type Output = DualNumber
The resulting type after applying the
+
operator.source§fn add(self, other: DualNumber) -> DualNumber
fn add(self, other: DualNumber) -> DualNumber
Performs the
+
operation. Read moresource§impl Add<f32> for DualNumber
impl Add<f32> for DualNumber
§type Output = DualNumber
type Output = DualNumber
The resulting type after applying the
+
operator.source§impl AddAssign<DualNumber> for DualNumber
impl AddAssign<DualNumber> for DualNumber
source§fn add_assign(&mut self, other: DualNumber)
fn add_assign(&mut self, other: DualNumber)
Performs the
+=
operation. Read moresource§impl AddAssign<f32> for DualNumber
impl AddAssign<f32> for DualNumber
source§fn add_assign(&mut self, other: f32)
fn add_assign(&mut self, other: f32)
Performs the
+=
operation. Read moresource§impl Automorphism for DualNumber
impl Automorphism for DualNumber
type Output = DualNumber
fn automorphism(self) -> DualNumber
source§impl Clone for DualNumber
impl Clone for DualNumber
source§fn clone(&self) -> DualNumber
fn clone(&self) -> DualNumber
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Conjugation for DualNumber
impl Conjugation for DualNumber
type Output = DualNumber
fn conjugation(self) -> DualNumber
source§impl Debug for DualNumber
impl Debug for DualNumber
source§impl Div<DualNumber> for DualNumber
impl Div<DualNumber> for DualNumber
§type Output = DualNumber
type Output = DualNumber
The resulting type after applying the
/
operator.source§fn div(self, other: DualNumber) -> DualNumber
fn div(self, other: DualNumber) -> DualNumber
Performs the
/
operation. Read moresource§impl DivAssign<DualNumber> for DualNumber
impl DivAssign<DualNumber> for DualNumber
source§fn div_assign(&mut self, other: DualNumber)
fn div_assign(&mut self, other: DualNumber)
Performs the
/=
operation. Read moresource§impl Dual for DualNumber
impl Dual for DualNumber
type Output = DualNumber
fn dual(self) -> DualNumber
source§impl From<DualNumber> for [f32; 2]
impl From<DualNumber> for [f32; 2]
source§fn from(vector: DualNumber) -> Self
fn from(vector: DualNumber) -> Self
Converts to this type from the input type.
source§impl GeometricProduct<DualNumber> for DualNumber
impl GeometricProduct<DualNumber> for DualNumber
type Output = DualNumber
fn geometric_product(self, other: DualNumber) -> DualNumber
source§impl GeometricProduct<DualNumber> for f32
impl GeometricProduct<DualNumber> for f32
type Output = DualNumber
fn geometric_product(self, other: DualNumber) -> DualNumber
source§impl GeometricProduct<f32> for DualNumber
impl GeometricProduct<f32> for DualNumber
type Output = DualNumber
fn geometric_product(self, other: f32) -> DualNumber
source§impl GeometricQuotient<DualNumber> for DualNumber
impl GeometricQuotient<DualNumber> for DualNumber
type Output = DualNumber
fn geometric_quotient(self, other: DualNumber) -> DualNumber
source§impl GeometricQuotient<DualNumber> for f32
impl GeometricQuotient<DualNumber> for f32
type Output = DualNumber
fn geometric_quotient(self, other: DualNumber) -> DualNumber
source§impl GeometricQuotient<f32> for DualNumber
impl GeometricQuotient<f32> for DualNumber
type Output = DualNumber
fn geometric_quotient(self, other: f32) -> DualNumber
source§impl Index<usize> for DualNumber
impl Index<usize> for DualNumber
source§impl IndexMut<usize> for DualNumber
impl IndexMut<usize> for DualNumber
source§impl InnerProduct<DualNumber> for DualNumber
impl InnerProduct<DualNumber> for DualNumber
type Output = DualNumber
fn inner_product(self, other: DualNumber) -> DualNumber
source§impl InnerProduct<DualNumber> for f32
impl InnerProduct<DualNumber> for f32
type Output = DualNumber
fn inner_product(self, other: DualNumber) -> DualNumber
source§impl InnerProduct<f32> for DualNumber
impl InnerProduct<f32> for DualNumber
type Output = DualNumber
fn inner_product(self, other: f32) -> DualNumber
source§impl Into<f32> for DualNumber
impl Into<f32> for DualNumber
source§impl Inverse for DualNumber
impl Inverse for DualNumber
type Output = DualNumber
fn inverse(self) -> DualNumber
source§impl LeftContraction<DualNumber> for DualNumber
impl LeftContraction<DualNumber> for DualNumber
type Output = DualNumber
fn left_contraction(self, other: DualNumber) -> DualNumber
source§impl LeftContraction<DualNumber> for f32
impl LeftContraction<DualNumber> for f32
type Output = DualNumber
fn left_contraction(self, other: DualNumber) -> DualNumber
source§impl LeftContraction<f32> for DualNumber
impl LeftContraction<f32> for DualNumber
source§impl Mul<DualNumber> for DualNumber
impl Mul<DualNumber> for DualNumber
§type Output = DualNumber
type Output = DualNumber
The resulting type after applying the
*
operator.source§fn mul(self, other: DualNumber) -> DualNumber
fn mul(self, other: DualNumber) -> DualNumber
Performs the
*
operation. Read moresource§impl Mul<f32> for DualNumber
impl Mul<f32> for DualNumber
§type Output = DualNumber
type Output = DualNumber
The resulting type after applying the
*
operator.source§impl MulAssign<DualNumber> for DualNumber
impl MulAssign<DualNumber> for DualNumber
source§fn mul_assign(&mut self, other: DualNumber)
fn mul_assign(&mut self, other: DualNumber)
Performs the
*=
operation. Read moresource§impl MulAssign<f32> for DualNumber
impl MulAssign<f32> for DualNumber
source§fn mul_assign(&mut self, other: f32)
fn mul_assign(&mut self, other: f32)
Performs the
*=
operation. Read moresource§impl Neg for DualNumber
impl Neg for DualNumber
§type Output = DualNumber
type Output = DualNumber
The resulting type after applying the
-
operator.source§fn neg(self) -> DualNumber
fn neg(self) -> DualNumber
Performs the unary
-
operation. Read moresource§impl OuterProduct<DualNumber> for DualNumber
impl OuterProduct<DualNumber> for DualNumber
type Output = DualNumber
fn outer_product(self, other: DualNumber) -> DualNumber
source§impl OuterProduct<DualNumber> for f32
impl OuterProduct<DualNumber> for f32
type Output = DualNumber
fn outer_product(self, other: DualNumber) -> DualNumber
source§impl OuterProduct<f32> for DualNumber
impl OuterProduct<f32> for DualNumber
type Output = DualNumber
fn outer_product(self, other: f32) -> DualNumber
source§impl Powi for DualNumber
impl Powi for DualNumber
type Output = DualNumber
fn powi(self, exponent: isize) -> DualNumber
source§impl RegressiveProduct<DualNumber> for DualNumber
impl RegressiveProduct<DualNumber> for DualNumber
type Output = DualNumber
fn regressive_product(self, other: DualNumber) -> DualNumber
source§impl RegressiveProduct<DualNumber> for f32
impl RegressiveProduct<DualNumber> for f32
type Output = f32
fn regressive_product(self, other: DualNumber) -> f32
source§impl RegressiveProduct<f32> for DualNumber
impl RegressiveProduct<f32> for DualNumber
source§impl Reversal for DualNumber
impl Reversal for DualNumber
type Output = DualNumber
fn reversal(self) -> DualNumber
source§impl RightContraction<DualNumber> for DualNumber
impl RightContraction<DualNumber> for DualNumber
type Output = DualNumber
fn right_contraction(self, other: DualNumber) -> DualNumber
source§impl RightContraction<DualNumber> for f32
impl RightContraction<DualNumber> for f32
type Output = f32
fn right_contraction(self, other: DualNumber) -> f32
source§impl RightContraction<f32> for DualNumber
impl RightContraction<f32> for DualNumber
type Output = DualNumber
fn right_contraction(self, other: f32) -> DualNumber
source§impl ScalarProduct<DualNumber> for DualNumber
impl ScalarProduct<DualNumber> for DualNumber
type Output = f32
fn scalar_product(self, other: DualNumber) -> f32
source§impl ScalarProduct<DualNumber> for f32
impl ScalarProduct<DualNumber> for f32
type Output = f32
fn scalar_product(self, other: DualNumber) -> f32
source§impl ScalarProduct<f32> for DualNumber
impl ScalarProduct<f32> for DualNumber
source§impl Signum for DualNumber
impl Signum for DualNumber
type Output = DualNumber
fn signum(self) -> DualNumber
source§impl SquaredMagnitude for DualNumber
impl SquaredMagnitude for DualNumber
source§impl Sub<DualNumber> for DualNumber
impl Sub<DualNumber> for DualNumber
§type Output = DualNumber
type Output = DualNumber
The resulting type after applying the
-
operator.source§fn sub(self, other: DualNumber) -> DualNumber
fn sub(self, other: DualNumber) -> DualNumber
Performs the
-
operation. Read moresource§impl Sub<DualNumber> for f32
impl Sub<DualNumber> for f32
§type Output = DualNumber
type Output = DualNumber
The resulting type after applying the
-
operator.source§fn sub(self, other: DualNumber) -> DualNumber
fn sub(self, other: DualNumber) -> DualNumber
Performs the
-
operation. Read moresource§impl Sub<f32> for DualNumber
impl Sub<f32> for DualNumber
§type Output = DualNumber
type Output = DualNumber
The resulting type after applying the
-
operator.source§impl SubAssign<DualNumber> for DualNumber
impl SubAssign<DualNumber> for DualNumber
source§fn sub_assign(&mut self, other: DualNumber)
fn sub_assign(&mut self, other: DualNumber)
Performs the
-=
operation. Read moresource§impl SubAssign<f32> for DualNumber
impl SubAssign<f32> for DualNumber
source§fn sub_assign(&mut self, other: f32)
fn sub_assign(&mut self, other: f32)
Performs the
-=
operation. Read moresource§impl Transformation<DualNumber> for DualNumber
impl Transformation<DualNumber> for DualNumber
type Output = DualNumber
fn transformation(self, other: DualNumber) -> DualNumber
source§impl Transformation<DualNumber> for f32
impl Transformation<DualNumber> for f32
type Output = DualNumber
fn transformation(self, other: DualNumber) -> DualNumber
source§impl Transformation<f32> for DualNumber
impl Transformation<f32> for DualNumber
impl Copy for DualNumber
Auto Trait Implementations§
impl RefUnwindSafe for DualNumber
impl Send for DualNumber
impl Sync for DualNumber
impl Unpin for DualNumber
impl UnwindSafe for DualNumber
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