Trait static_fir::FirCoefs
[−]
[src]
pub trait FirCoefs: Default + Deref<Target = [Self::Sample]> + DerefMut { type Sample: Copy + Clone + Default + Add<Output = Self::Sample> + Mul<f32, Output = Self::Sample>; fn size() -> usize; fn coefs() -> &'static [f32]; fn verify_symmetry() { ... } }
Provides a sequence of coefficients and storage for sample history.
Associated Types
type Sample: Copy + Clone + Default + Add<Output = Self::Sample> + Mul<f32, Output = Self::Sample>
Type of sample stored in the history.
Required Methods
fn size() -> usize
Number of coefficients/stored samples.
fn coefs() -> &'static [f32]
Sequence of coefficients.
Provided Methods
fn verify_symmetry()
Verify the requirement that the filter coefficients are symmetric around the center (either even or odd length.)