Lines Matching +full:arr +full:- +full:diff
6 Use of this source code is governed by a BSD-style license that can be
28 return (withinStdDev(-a) - withinStdDev(-b)) / 2;
30 return (withinStdDev(-a) + withinStdDev(b)) / 2;
32 return (withinStdDev(b) - withinStdDev(a)) / 2;
40 # This is the sub-sample shift for each set of FIR coefficients
70 #We start at sample_offset - sample_units_width
71 current_sample_left = sample_offset - sample_units_width
72 current_std_dev_left = -std_dev_max
81 (current_sample_right - current_sample_left) / sample_units_width
97 delta = -1
106 coeff_diff = [(coeff_rounded - coeff) * delta
116 return "arr[%d] == %s" % (self.index, repr(self.item))
118 coeff_pkg = [IndexTracker(i, diff) for i, diff in enumerate(coeff_diff)]
125 num_elements_to_force_round = abs(coeffs_rounded_sum - target_sum)