Skip to main content

exclusive_scan

Function exclusive_scan 

Source
pub fn exclusive_scan(data: &[f64]) -> Vec<f64>
Expand description

Parallel prefix sum (scan) on a slice of f64 values.

Returns a new vector where result[i] = sum(data[0..i]). This is the exclusive scan variant.