Struct barter::statistic::dispersion::Dispersion
source · pub struct Dispersion {
pub range: Range,
pub recurrence_relation_m: f64,
pub variance: f64,
pub std_dev: f64,
}
Expand description
Representation of a dataset using measures of dispersion - range, variance & standard deviation.
Fields§
§range: Range
§recurrence_relation_m: f64
§variance: f64
§std_dev: f64
Implementations§
Trait Implementations§
source§impl Clone for Dispersion
impl Clone for Dispersion
source§fn clone(&self) -> Dispersion
fn clone(&self) -> Dispersion
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for Dispersion
impl Debug for Dispersion
source§impl Default for Dispersion
impl Default for Dispersion
source§fn default() -> Dispersion
fn default() -> Dispersion
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for Dispersion
impl<'de> Deserialize<'de> for Dispersion
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<Dispersion> for Dispersion
impl PartialEq<Dispersion> for Dispersion
source§fn eq(&self, other: &Dispersion) -> bool
fn eq(&self, other: &Dispersion) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<Dispersion> for Dispersion
impl PartialOrd<Dispersion> for Dispersion
source§fn partial_cmp(&self, other: &Dispersion) -> Option<Ordering>
fn partial_cmp(&self, other: &Dispersion) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more