Struct rgsl::types::rstat::RStatWorkspace
source · pub struct RStatWorkspace { /* private fields */ }
Implementations§
source§impl RStatWorkspace
impl RStatWorkspace
pub fn new() -> Option<Self>
pub fn n(&self) -> usize
pub fn add(&mut self, x: f64) -> Result<(), Value>
pub fn min(&self) -> f64
pub fn max(&self) -> f64
pub fn mean(&self) -> f64
pub fn variance(&self) -> f64
pub fn sd(&self) -> f64
pub fn rms(&self) -> f64
Available on crate feature
v2_2
only.pub fn sd_mean(&self) -> f64
pub fn median(&mut self) -> f64
pub fn skew(&self) -> f64
pub fn kurtosis(&self) -> f64
pub fn reset(&mut self) -> Result<(), Value>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for RStatWorkspace
impl !Send for RStatWorkspace
impl !Sync for RStatWorkspace
impl Unpin for RStatWorkspace
impl UnwindSafe for RStatWorkspace
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more