[][src]Trait basic_dsp::conv_types::RealImpulseResponse

pub trait RealImpulseResponse<T>: Sync where
    T: RealNumber
{ fn is_symmetric(&self) -> bool;
fn calc(&self, x: T) -> T; }

A convolution function in time domain and real number space

Required methods

fn is_symmetric(&self) -> bool

Indicates whether this function is symmetric around 0 or not. Symmetry is defined as self.calc(x) == self.calc(-x).

fn calc(&self, x: T) -> T

Calculates the convolution for a data point

Loading content...

Trait Implementations

impl<'a, V, S, T> Convolution<'a, S, T, &'a (dyn RealImpulseResponse<T> + 'a)> for Matrix4xN<V, S, T> where
    S: ToSliceMut<T>,
    T: RealNumber,
    V: Vector<T> + Convolution<'a, S, T, &'a (dyn RealImpulseResponse<T> + 'a)>, 
[src]

impl<'a, V, S, T> Convolution<'a, S, T, &'a (dyn RealImpulseResponse<T> + 'a)> for Matrix3xN<V, S, T> where
    S: ToSliceMut<T>,
    T: RealNumber,
    V: Vector<T> + Convolution<'a, S, T, &'a (dyn RealImpulseResponse<T> + 'a)>, 
[src]

impl<'a, V, S, T> Convolution<'a, S, T, &'a (dyn RealImpulseResponse<T> + 'a)> for Matrix2xN<V, S, T> where
    S: ToSliceMut<T>,
    T: RealNumber,
    V: Vector<T> + Convolution<'a, S, T, &'a (dyn RealImpulseResponse<T> + 'a)>, 
[src]

impl<'a, V, S, T> Convolution<'a, S, T, &'a (dyn RealImpulseResponse<T> + 'a)> for MatrixMxN<V, S, T> where
    S: ToSliceMut<T>,
    T: RealNumber,
    V: Vector<T> + Convolution<'a, S, T, &'a (dyn RealImpulseResponse<T> + 'a)>, 
[src]

impl<'a, S, T, N, D> Convolution<'a, S, T, &'a (dyn RealImpulseResponse<T> + 'a)> for DspVec<S, T, N, D> where
    D: TimeDomain,
    N: NumberSpace,
    S: ToSliceMut<T>,
    T: RealNumber,
    DspVec<S, T, N, D>: TimeToFrequencyDomainOperations<S, T>,
    DspVec<S, T, N, D>: Clone,
    DspVec<S, T, N, D>: ConvolutionOps<DspVec<InlineVector<T>, T, N, D>, S, T, N, D>, 
[src]

Implementors

impl RealImpulseResponse<f32> for RealTimeLinearTableLookup<f32>
[src]

impl RealImpulseResponse<f64> for RealTimeLinearTableLookup<f64>
[src]

impl<T> RealImpulseResponse<T> for RaisedCosineFunction<T> where
    T: RealNumber
[src]

impl<T> RealImpulseResponse<T> for SincFunction<T> where
    T: RealNumber
[src]

Loading content...