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
Auto Trait Implementations§
impl Freeze for CusumResult
impl RefUnwindSafe for CusumResult
impl Send for CusumResult
impl Sync for CusumResult
impl Unpin for CusumResult
impl UnsafeUnpin 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