Struct rv::data::GaussianSuffStat[][src]

pub struct GaussianSuffStat {
    pub n: usize,
    pub sum_x: f64,
    pub sum_x_sq: f64,
}

Fields

Number of observations

Sum of x

Sum of x^2

Methods

impl GaussianSuffStat
[src]

Trait Implementations

impl Clone for GaussianSuffStat
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for GaussianSuffStat
[src]

Formats the value using the given formatter. Read more

impl Default for GaussianSuffStat
[src]

Returns the "default value" for a type. Read more

impl SuffStat<f32> for GaussianSuffStat
[src]

Assimilate the datum x into the statistic

Remove the datum x from the statistic

Assimilate several observations

Forget several observations

impl SuffStat<f64> for GaussianSuffStat
[src]

Assimilate the datum x into the statistic

Remove the datum x from the statistic

Assimilate several observations

Forget several observations

Auto Trait Implementations