pub fn segmented_exclusive_scan(data: &[f64], flags: &[bool]) -> Vec<f64>
Segmented exclusive prefix scan.
Each segment boundary is marked by a true entry in flags. The scan resets to 0 at the start of each segment.
true
flags