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,
Implementations on Foreign Types
impl<A, S, D> ParMap for ArrayBase<S, D> where
S: DataMut<Elem = A>,
D: Dimension,
A: Send + Sync,
[src]
S: DataMut<Elem = A>,
D: Dimension,
A: Send + Sync,