Trait basic_dsp::conv_types::ComplexImpulseResponse
[−]
[src]
pub trait ComplexImpulseResponse<T>: Sync where T: RealNumber { fn is_symmetric(&self) -> bool; fn calc(&self, x: T) -> Complex<T>; }
A convolution function in $domain_comment domain and complex 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) -> Complex<T>
Calculates the convolution for a data point
Implementors
impl ComplexImpulseResponse<f32> for ComplexTimeLinearTableLookup<f32>
impl ComplexImpulseResponse<f64> for ComplexTimeLinearTableLookup<f64>
impl<T> ComplexImpulseResponse<T> for ForeignComplexConvolutionFunction<T> where T: RealNumber