Function bayes_estimate::estimators::sir::live_samples[][src]

pub fn live_samples<N: RealField, D: Dim>(
    s: &mut Samples<N, D>,
    resamples: &Resamples
) where
    DefaultAllocator: Allocator<N, D>, 

Update ‘s’ by selectively copying resamples. Uses a in-place copying algorithm: First copy the live samples (those resampled) to end of s. Replicate live sample in-place start an the begining of s.