Trait basic_dsp_vector::TimeDomainOperations [−][src]
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>); }
Expand description
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>)[src]
fn apply_window(&mut self, window: &dyn WindowFunction<T>)[src]Applies a window to the data vector.
fn unapply_window(&mut self, window: &dyn WindowFunction<T>)[src]
fn unapply_window(&mut self, window: &dyn WindowFunction<T>)[src]Removes a window from the data vector.
Implementors
impl<S, T, N, D> TimeDomainOperations<S, T> for DspVec<S, T, N, D> where
DspVec<S, T, N, D>: ToFreqResult,
<DspVec<S, T, N, D> as ToFreqResult>::FreqResult: RededicateForceOps<DspVec<S, T, N, D>>,
S: ToSliceMut<T>,
T: RealNumber,
N: NumberSpace,
D: TimeDomain, [src]
impl<S, T, N, D> TimeDomainOperations<S, T> for DspVec<S, T, N, D> where
DspVec<S, T, N, D>: ToFreqResult,
<DspVec<S, T, N, D> as ToFreqResult>::FreqResult: RededicateForceOps<DspVec<S, T, N, D>>,
S: ToSliceMut<T>,
T: RealNumber,
N: NumberSpace,
D: TimeDomain, [src]