Skip to main content

compute_sign_tuple

Function compute_sign_tuple 

Source
pub fn compute_sign_tuple(norms: &[f64], k: usize) -> SignTuple
Expand description

Compute the sign tuple for a single signal at window k.

§Arguments

  • norms - slice of residual norms for the last W+1 windows (immutable)
  • k - current index into norms (must be >= 1)

§Returns

SignTuple with norm, drift, and slew