Struct static_fir::FirFilter [] [src]

pub struct FirFilter<C: FirCoefs> { /* fields omitted */ }

A FIR filter for convolving with a series of samples.

Methods

impl<C: FirCoefs> FirFilter<C>
[src]

[src]

Create a new FirFilter with empty history.

[src]

Add a sample to the current history and calculate the convolution.

[src]

Create an iterator over the history of stored samples, with the oldest sample as the first item yielded and the newest as the last.

[src]

Create an iterator over the history of stored samples, where the samples are yielded in the order they're stored in the underlying ring buffer.

This may be more efficient than history if the order of the samples is insignificant.