Trait ndarray_parallel::prelude::ParMap
[−]
[src]
pub trait ParMap {
type Item;
fn par_map_inplace<F>(&mut self, f: F)
where
F: Fn(&mut Self::Item) + Sync + Send;
fn par_mapv_inplace<F>(&mut self, f: F)
where
F: Fn(Self::Item) -> Self::Item + Sync + Send,
Self::Item: Clone;
}Parallel versions of map_inplace and mapv_inplace.
Associated Types
type Item
Required Methods
fn par_map_inplace<F>(&mut self, f: F) where
F: Fn(&mut Self::Item) + Sync + Send,
F: Fn(&mut Self::Item) + Sync + Send,
fn par_mapv_inplace<F>(&mut self, f: F) where
F: Fn(Self::Item) -> Self::Item + Sync + Send,
Self::Item: Clone,
F: Fn(Self::Item) -> Self::Item + Sync + Send,
Self::Item: Clone,