Skip to main content

residual

Function residual 

Source
pub fn residual(impulses: &[(f64, f64)], hz: f64, damping: f64) -> f64
Expand description

The vibration a shaper leaves in a mode of hz and damping, as a share of what a single impulse leaves (Singer and Seering): e^(-zeta w t_n) sqrt(C^2 + S^2), C and S the sums of A_i e^(zeta w t_i) cos and sin of w_d t_i. impulses in seconds.