Skip to main content

nelson_rules

Function nelson_rules 

Source
pub fn nelson_rules(
    values: &[f64],
    center: f64,
    sigma: f64,
) -> Result<Vec<RuleViolation>, FdarError>
Expand description

Apply Nelson rules 5-7 (in addition to WE rules which cover Nelson 1-4).

ยงErrors

Returns FdarError::InvalidParameter if sigma is not positive.