pub struct CusumResult {
pub s_upper: f64,
pub s_lower: f64,
pub signal: bool,
pub index: usize,
}Expand description
Result of CUSUM analysis for a single observation.
Fields§
§s_upper: f64Upper cumulative sum S_H(i).
s_lower: f64Lower cumulative sum S_L(i).
signal: boolWhether the decision interval was exceeded (S_H > h or S_L > h).
index: usizeIndex of this observation in the data sequence.
Trait Implementations§
Source§impl Clone for CusumResult
impl Clone for CusumResult
Source§fn clone(&self) -> CusumResult
fn clone(&self) -> CusumResult
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 CusumResult
impl RefUnwindSafe for CusumResult
impl Send for CusumResult
impl Sync for CusumResult
impl Unpin for CusumResult
impl UnwindSafe for CusumResult
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