pub fn cov(a: &[f64], b: &[f64]) -> Result<f64, StatError>Expand description
Sample covariance (ddof = 1) of paired a, b. Pairs with a NaN in either
coordinate are dropped together. StatError::MismatchedLengths if lengths
differ; needs ≥ 2 complete pairs.