Struct signalo_filters::sink::MeanVariance[][src]

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

A sink that computes the mean and variance of all received values of a signal.

Methods

impl<T> MeanVariance<T> where
    T: Zero
[src]

Creates a new MeanVariance sink.

Trait Implementations

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

Formats the value using the given formatter. Read more

impl<T> Sink<T> for MeanVariance<T> where
    T: Copy + PartialOrd + One + Num
[src]

The sink's output type.

Processes the input value.

Consumes self, returning an accumulated output.

Auto Trait Implementations

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

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