[][src]Trait basic_dsp::MapInplaceOps

pub trait MapInplaceOps<T> {
    fn map_inplace<'a, A, F>(&mut self, argument: A, map: &F)
    where
        A: Sync + Copy + Send,
        F: Fn(T, usize, A) -> T + 'a + Sync
; }

Operations which allow to iterate over the vector and to derive results or to change the vector.

Required methods

fn map_inplace<'a, A, F>(&mut self, argument: A, map: &F) where
    A: Sync + Copy + Send,
    F: Fn(T, usize, A) -> T + 'a + Sync

Transforms all vector elements using the function map.

Loading content...

Implementors

impl<S, T, N, D> MapInplaceOps<Complex<T>> for DspVec<S, T, N, D> where
    D: Domain,
    N: ComplexNumberSpace,
    S: ToSliceMut<T>,
    T: RealNumber
[src]

impl<S, T, N, D> MapInplaceOps<T> for DspVec<S, T, N, D> where
    D: Domain,
    N: RealNumberSpace,
    S: ToSliceMut<T>,
    T: RealNumber
[src]

impl<S, V, T> MapInplaceOps<Complex<T>> for Matrix2xN<V, S, T> where
    S: ToSlice<T>,
    T: RealNumber,
    V: Vector<T> + MapInplaceOps<Complex<T>>, 
[src]

impl<S, V, T> MapInplaceOps<Complex<T>> for Matrix3xN<V, S, T> where
    S: ToSlice<T>,
    T: RealNumber,
    V: Vector<T> + MapInplaceOps<Complex<T>>, 
[src]

impl<S, V, T> MapInplaceOps<Complex<T>> for Matrix4xN<V, S, T> where
    S: ToSlice<T>,
    T: RealNumber,
    V: Vector<T> + MapInplaceOps<Complex<T>>, 
[src]

impl<S, V, T> MapInplaceOps<Complex<T>> for MatrixMxN<V, S, T> where
    S: ToSlice<T>,
    T: RealNumber,
    V: Vector<T> + MapInplaceOps<Complex<T>>, 
[src]

impl<S, V, T> MapInplaceOps<T> for Matrix2xN<V, S, T> where
    S: ToSlice<T>,
    T: RealNumber,
    V: Vector<T> + MapInplaceOps<T>, 
[src]

impl<S, V, T> MapInplaceOps<T> for Matrix3xN<V, S, T> where
    S: ToSlice<T>,
    T: RealNumber,
    V: Vector<T> + MapInplaceOps<T>, 
[src]

impl<S, V, T> MapInplaceOps<T> for Matrix4xN<V, S, T> where
    S: ToSlice<T>,
    T: RealNumber,
    V: Vector<T> + MapInplaceOps<T>, 
[src]

impl<S, V, T> MapInplaceOps<T> for MatrixMxN<V, S, T> where
    S: ToSlice<T>,
    T: RealNumber,
    V: Vector<T> + MapInplaceOps<T>, 
[src]

Loading content...