Struct test::stats::Summary [] [src]

pub struct Summary {
    pub sum: f64,
    pub min: f64,
    pub max: f64,
    pub mean: f64,
    pub median: f64,
    pub var: f64,
    pub std_dev: f64,
    pub std_dev_pct: f64,
    pub median_abs_dev: f64,
    pub median_abs_dev_pct: f64,
    pub quartiles: (f64, f64, f64),
    pub iqr: f64,
}
Unstable (test)

Extracted collection of all the summary statistics of a sample set.

Fields

sum: f64
Unstable (test)
min: f64
Unstable (test)
max: f64
Unstable (test)
mean: f64
Unstable (test)
median: f64
Unstable (test)
var: f64
Unstable (test)
std_dev: f64
Unstable (test)
std_dev_pct: f64
Unstable (test)
median_abs_dev: f64
Unstable (test)
median_abs_dev_pct: f64
Unstable (test)
quartiles: (f64, f64, f64)
Unstable (test)
iqr: f64
Unstable (test)

Methods

impl Summary
[src]

fn new(samples: &[f64]) -> Summary

Unstable (test)

Construct a new summary of a sample set.

Trait Implementations

Derived Implementations

impl PartialEq for Summary
[src]

fn eq(&self, __arg_0: &Summary) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &Summary) -> bool

This method tests for !=.

impl Clone for Summary
[src]

fn clone(&self) -> Summary

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more