Trait basic_dsp_vector::conv_types::ComplexFrequencyResponse
[−]
[src]
pub trait ComplexFrequencyResponse<T>: Sync where
T: RealNumber, { fn is_symmetric(&self) -> bool; fn calc(&self, x: T) -> Complex<T>; }
A convolution function in frequency 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 ComplexFrequencyResponse<f32> for ComplexFrequencyLinearTableLookup<f32>
impl ComplexFrequencyResponse<f64> for ComplexFrequencyLinearTableLookup<f64>