Trait peroxide::traits::mutable::ParallelMutFP

source ·
pub trait ParallelMutFP {
    type Scalar;

    // Required methods
    fn par_mut_map<F>(&mut self, f: F)
       where F: Fn(Self::Scalar) -> Self::Scalar + Send + Sync;
    fn par_mut_zip_with<F>(&mut self, f: F, other: &Self)
       where F: Fn(Self::Scalar, Self::Scalar) -> Self::Scalar + Send + Sync;
}

Required Associated Types§

Required Methods§

source

fn par_mut_map<F>(&mut self, f: F)
where F: Fn(Self::Scalar) -> Self::Scalar + Send + Sync,

source

fn par_mut_zip_with<F>(&mut self, f: F, other: &Self)
where F: Fn(Self::Scalar, Self::Scalar) -> Self::Scalar + Send + Sync,

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl ParallelMutFP for Vec<f64>

source§

type Scalar = f64

source§

fn par_mut_map<F>(&mut self, f: F)
where F: Fn(Self::Scalar) -> Self::Scalar + Send + Sync,

source§

fn par_mut_zip_with<F>(&mut self, f: F, other: &Self)
where F: Fn(Self::Scalar, Self::Scalar) -> Self::Scalar + Send + Sync,

Implementors§