Macro synfx_dsp::assert_decimated_slope_feq
source · [−]macro_rules! assert_decimated_slope_feq {
($vec:expr, $decimate: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
. This macro only looks at every $decimate
slope.