fn add_custom_buckets_with_mismatches(
subtract: bool,
a: &Vec<(i32, f64)>,
a_bounds: &[f64],
b: &Vec<(i32, f64)>,
b_bounds: &[f64],
a_compensation: Option<&[f64]>,
bounds: &[f64],
) -> (Vec<(i32, f64)>, Vec<(i32, f64)>)Expand description
Go addCustomBucketsWithMismatches: maps both sides onto the intersected bounds, adding
with Kahan summation, and drops buckets left empty. Returns the buckets and their
compensation.