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 of sample stored in the history.

Required Methods

Number of coefficients/stored samples.

Sequence of coefficients.

Provided Methods

Verify the requirement that the filter coefficients are symmetric around the center (either even or odd length.)