pub struct SSMElement {
pub a_bar: Array1<f32>,
pub b_bar: Array1<f32>,
}Expand description
SSM Scan Element: (A_bar, B_bar) for diagonal SSM
Fields§
§a_bar: Array1<f32>Discretized A (diagonal): exp(Δ * λ)
b_bar: Array1<f32>Discretized B: B̄ = (exp(Δλ) - 1)/λ * B
Trait Implementations§
Source§impl AssociativeOp<SSMElement> for SSMScanOp
impl AssociativeOp<SSMElement> for SSMScanOp
Source§fn combine(&self, left: &SSMElement, right: &SSMElement) -> SSMElement
fn combine(&self, left: &SSMElement, right: &SSMElement) -> SSMElement
Apply the associative operation: a ⊗ b
Source§fn identity(&self) -> Option<SSMElement>
fn identity(&self) -> Option<SSMElement>
Identity element (if it exists)
Source§impl Clone for SSMElement
impl Clone for SSMElement
Source§fn clone(&self) -> SSMElement
fn clone(&self) -> SSMElement
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for SSMElement
impl RefUnwindSafe for SSMElement
impl Send for SSMElement
impl Sync for SSMElement
impl Unpin for SSMElement
impl UnwindSafe for SSMElement
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more