Trait basic_dsp::conv_types::RealFrequencyResponse
source · pub trait RealFrequencyResponse<T>: Syncwhere
T: RealNumber,{
// Required methods
fn is_symmetric(&self) -> bool;
fn calc(&self, x: T) -> T;
}
Expand description
A convolution function in frequency domain and real number space
Required Methods§
sourcefn is_symmetric(&self) -> bool
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)
.