Skip to main content

segmented_exclusive_scan

Function segmented_exclusive_scan 

Source
pub fn segmented_exclusive_scan(data: &[f64], flags: &[bool]) -> Vec<f64>
Expand description

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.