Skip to main content

try_parallel_scan

Function try_parallel_scan 

Source
pub fn try_parallel_scan<T, F>(
    data: &[T],
    identity: T,
    op: F,
) -> CoreResult<Vec<T>>
where T: Clone + Send + Sync, F: Fn(T, T) -> T + Send + Sync + Clone,
Expand description

Parallel scan that validates the input is non-empty.