Macro synfx_dsp::assert_slope_feq
source · [−]macro_rules! assert_slope_feq {
($vec:expr, $cmp_vec:expr) => { ... };
}
Expand description
Calculates the (linear) slope between consequtive values in $vec
and compares the slopes
with $cmp_vec
with a precision of 0.0001
.