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>where
H: Integrable,
T: Integrable,
TensorTuple<H::Point, T::Point>: Tensor,
TensorTuple<H::Increment, T::Increment>: Tensor,
impl<H, T> Integrable for Product<H, T>where
H: Integrable,
T: Integrable,
TensorTuple<H::Point, T::Point>: Tensor,
TensorTuple<H::Increment, T::Increment>: Tensor,
Source§type Point = TensorTuple<<H as Integrable>::Point, <T as Integrable>::Point>
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>
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>
fn reconstruct( base: &Self::Point, increment: &Self::Increment, ) -> Result<Self::Point, TensorError>
Advances
base by increment.Auto Trait Implementations§
impl<H, T> Freeze for Product<H, T>
impl<H, T> RefUnwindSafe for Product<H, T>where
H: RefUnwindSafe,
T: RefUnwindSafe,
impl<H, T> Send for Product<H, T>
impl<H, T> Sync for Product<H, T>
impl<H, T> Unpin for Product<H, T>
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> 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