Skip to main content

parallel_map_f64

Function parallel_map_f64 

Source
pub fn parallel_map_f64(data: &[f64], f: impl Fn(f64) -> f64 + Sync) -> Vec<f64>
Expand description

Applies f to every element of data and returns the results.

Sequential fallback – the API is parallel-ready (requires Sync).