pub struct ParticleResult {
pub means: Vec<Vec<f64>>,
pub eff_sizes: Vec<f64>,
pub n_resamples: usize,
}Expand description
Result of running the particle filter on a sequence.
Fields§
§means: Vec<Vec<f64>>T filtered state estimates (weighted mean), each of length dim_x.
eff_sizes: Vec<f64>T effective sample sizes N_eff = 1 / Σ(w_i²).
n_resamples: usizeTotal number of resampling events across all time steps.
Trait Implementations§
Source§impl Clone for ParticleResult
impl Clone for ParticleResult
Source§fn clone(&self) -> ParticleResult
fn clone(&self) -> ParticleResult
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 ParticleResult
impl RefUnwindSafe for ParticleResult
impl Send for ParticleResult
impl Sync for ParticleResult
impl Unpin for ParticleResult
impl UnsafeUnpin for ParticleResult
impl UnwindSafe for ParticleResult
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