[][src]Trait basic_dsp_vector::MapInplaceOps

pub trait MapInplaceOps<T>: Sized where
    T: Sized
{ 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
    S: ToSliceMut<T>,
    T: RealNumber,
    N: ComplexNumberSpace,
    D: Domain
[src]

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

Loading content...