Skip to main content

Unimodular

Struct Unimodular 

Source
pub struct Unimodular<A, B = A>(/* private fields */);
Expand description

A state acted on by the matrix exponential, X_{n+1} = exp(increment) X_n, staying on the unimodular group (det = 1) whenever the increment is trace-free. The state maps B → A while its algebra element maps A → A, so F_p (Reference → Intermediate) is Unimodular<Intermediate, Reference>.

Trait Implementations§

Source§

impl<A, B> Integrable for Unimodular<A, B>
where TensorRank2<3, A, B, Dimensionless>: Tensor, TensorRank2<3, A, A, Dimensionless>: Tensor, for<'a> TensorRank2<3, A, A, Dimensionless>: Mul<&'a TensorRank2<3, A, B, Dimensionless>, Output = TensorRank2<3, A, B, Dimensionless>>,

Source§

type Point = TensorRank2<3, A, B>

The state value this field carries.
Source§

type Increment = TensorRank2<3, A, A>

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<A, B> Freeze for Unimodular<A, B>

§

impl<A, B> RefUnwindSafe for Unimodular<A, B>

§

impl<A, B> Send for Unimodular<A, B>
where A: Send, B: Send,

§

impl<A, B> Sync for Unimodular<A, B>
where A: Sync, B: Sync,

§

impl<A, B> Unpin for Unimodular<A, B>
where A: Unpin, B: Unpin,

§

impl<A, B> UnsafeUnpin for Unimodular<A, B>

§

impl<A, B> UnwindSafe for Unimodular<A, B>
where A: UnwindSafe, B: 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.