pub struct ScaledForwardResult {
pub alpha: Vec<f64>,
pub scales: Vec<f64>,
pub log_likelihood: f64,
}Expand description
Scaled forward variables and associated per-step scaling coefficients.
Fields§
§alpha: Vec<f64>T × n_states, scaled forward variables α_t(j).
scales: Vec<f64>T scaling coefficients c_t (one per time step).
log_likelihood: f64Σ_t log(1 / c_t) = -Σ_t log(c_t).
Trait Implementations§
Source§impl Clone for ScaledForwardResult
impl Clone for ScaledForwardResult
Source§fn clone(&self) -> ScaledForwardResult
fn clone(&self) -> ScaledForwardResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ScaledForwardResult
impl RefUnwindSafe for ScaledForwardResult
impl Send for ScaledForwardResult
impl Sync for ScaledForwardResult
impl Unpin for ScaledForwardResult
impl UnsafeUnpin for ScaledForwardResult
impl UnwindSafe for ScaledForwardResult
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