Skip to main content

Stochastics

Trait Stochastics 

Source
pub trait Stochastics {
    // Required methods
    fn covariance(&self, epoch: Epoch) -> f64;
    fn sample<R: Rng>(&mut self, epoch: Epoch, rng: &mut R) -> f64;
}
Expand description

Trait for any kind of stochastic modeling, developing primarily for synthetic orbit determination measurements.

Required Methods§

Source

fn covariance(&self, epoch: Epoch) -> f64

Return the variance of this stochastic noise model at a given time.

Source

fn sample<R: Rng>(&mut self, epoch: Epoch, rng: &mut R) -> f64

Returns a new sample of these stochastics

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§