[][src]Trait basic_dsp::TimeDomainOperations

pub trait TimeDomainOperations<S, T> where
    S: ToSliceMut<T>,
    T: RealNumber
{ fn apply_window(&mut self, window: &dyn WindowFunction<T>);
fn unapply_window(&mut self, window: &dyn WindowFunction<T>); }

Defines all operations which are valid on DataVecs containing time domain data.

Failures

All operations in this trait set self.len() to 0 if the vector isn't in time domain.

Required methods

fn apply_window(&mut self, window: &dyn WindowFunction<T>)

Applies a window to the data vector.

fn unapply_window(&mut self, window: &dyn WindowFunction<T>)

Removes a window from the data vector.

Loading content...

Implementors

impl<S, T, N, D> TimeDomainOperations<S, T> for DspVec<S, T, N, D> where
    D: TimeDomain,
    N: NumberSpace,
    S: ToSliceMut<T>,
    T: RealNumber,
    DspVec<S, T, N, D>: ToFreqResult,
    <DspVec<S, T, N, D> as ToFreqResult>::FreqResult: RededicateForceOps<DspVec<S, T, N, D>>, 
[src]

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

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

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

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

Loading content...