Struct signalo_filters::filter::mean::exp::Mean[][src]

pub struct Mean<T> { /* fields omitted */ }

A filter producing the exponential moving average over a given signal.

Methods

impl<T> Mean<T> where
    T: PartialOrd + Zero + One
[src]

Creates a new Mean filter with beta = 1.0 / n with n being the filter width.

Important traits for &'a mut R

Returns the filter's beta coefficient.

Trait Implementations

impl<T: Clone> Clone for Mean<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T: Debug> Debug for Mean<T>
[src]

Formats the value using the given formatter. Read more

impl<T> Stateful for Mean<T>
[src]

The filter's internal state.

impl<T> StatefulUnsafe for Mean<T>
[src]

Returns a mutable reference to the internal state of the filter.

Returns a mutable reference to the internal state of the filter.

impl<T> InitialState<()> for Mean<T>
[src]

Returns the filter's initial state for a given parameter.

impl<T> Resettable for Mean<T>
[src]

Resets the internal state of the filter.

impl<T> Filter<T> for Mean<T> where
    T: Copy + Num
[src]

The filter's output type.

Processes the input value, returning a corresponding output.

Auto Trait Implementations

impl<T> Send for Mean<T> where
    T: Send

impl<T> Sync for Mean<T> where
    T: Sync