Skip to main content

Product

Struct Product 

Source
pub struct Product<H, T>(/* private fields */);
Expand description

A composite of two fields; its state is the matching TensorTuple, and an increment reconstructs component-wise. Nests right for three or more fields.

Trait Implementations§

Source§

impl<H, T> Integrable for Product<H, T>

Source§

type Point = TensorTuple<<H as Integrable>::Point, <T as Integrable>::Point>

The state value this field carries.
Source§

type Increment = TensorTuple<<H as Integrable>::Increment, <T as Integrable>::Increment>

The tangent/algebra element that advances a Self::Point.
Source§

fn reconstruct( base: &Self::Point, increment: &Self::Increment, ) -> Result<Self::Point, TensorError>

Advances base by increment.
Source§

fn dexpinv( sigma: &Self::Increment, increment: Self::Increment, ) -> Self::Increment

The RKMK correction: maps a rate-scaled increment to an algebra increment at the accumulated algebra element sigma. Flat fields are the identity.

Auto Trait Implementations§

§

impl<H, T> Freeze for Product<H, T>

§

impl<H, T> RefUnwindSafe for Product<H, T>

§

impl<H, T> Send for Product<H, T>
where H: Send, T: Send,

§

impl<H, T> Sync for Product<H, T>
where H: Sync, T: Sync,

§

impl<H, T> Unpin for Product<H, T>
where H: Unpin, T: Unpin,

§

impl<H, T> UnsafeUnpin for Product<H, T>

§

impl<H, T> UnwindSafe for Product<H, T>
where H: UnwindSafe, T: UnwindSafe,

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where 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 T
where 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> Is<T> for T

Source§

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

Source§

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 T
where U: TryFrom<T>,

Source§

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.