Struct rv::data::MvGaussianSuffStat [−][src]
pub struct MvGaussianSuffStat { pub n: usize, pub sum_x: DVector<f64>, pub sum_x_sq: DMatrix<f64>, }
Fields
n: usize
sum_x: DVector<f64>
sum_x_sq: DMatrix<f64>
Methods
impl MvGaussianSuffStat
[src]
impl MvGaussianSuffStat
Trait Implementations
impl Debug for MvGaussianSuffStat
[src]
impl Debug for MvGaussianSuffStat
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for MvGaussianSuffStat
[src]
impl Clone for MvGaussianSuffStat
fn clone(&self) -> MvGaussianSuffStat
[src]
fn clone(&self) -> MvGaussianSuffStat
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl SuffStat<DVector<f64>> for MvGaussianSuffStat
[src]
impl SuffStat<DVector<f64>> for MvGaussianSuffStat
fn n(&self) -> usize
[src]
fn n(&self) -> usize
Returns the number of observations
fn observe(&mut self, x: &DVector<f64>)
[src]
fn observe(&mut self, x: &DVector<f64>)
Assimilate the datum x
into the statistic
fn forget(&mut self, x: &DVector<f64>)
[src]
fn forget(&mut self, x: &DVector<f64>)
Remove the datum x
from the statistic
fn observe_many(&mut self, xs: &[X])
[src]
fn observe_many(&mut self, xs: &[X])
Assimilate several observations
fn forget_many(&mut self, xs: &[X])
[src]
fn forget_many(&mut self, xs: &[X])
Forget several observations
Auto Trait Implementations
impl Send for MvGaussianSuffStat
impl Send for MvGaussianSuffStat
impl Sync for MvGaussianSuffStat
impl Sync for MvGaussianSuffStat