pub struct EwmaResult {
pub ewma: f64,
pub ucl: f64,
pub lcl: f64,
pub signal: bool,
pub index: usize,
}Expand description
Result of EWMA analysis for a single observation.
Fields§
§ewma: f64EWMA statistic Z_i.
ucl: f64Upper control limit at this point (time-varying).
lcl: f64Lower control limit at this point (time-varying).
signal: boolWhether the EWMA statistic exceeds the control limits.
index: usizeIndex of this observation in the data sequence.
Trait Implementations§
Source§impl Clone for EwmaResult
impl Clone for EwmaResult
Source§fn clone(&self) -> EwmaResult
fn clone(&self) -> EwmaResult
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for EwmaResult
impl RefUnwindSafe for EwmaResult
impl Send for EwmaResult
impl Sync for EwmaResult
impl Unpin for EwmaResult
impl UnwindSafe for EwmaResult
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