pub trait Mean {
    type Result;

    // Required method
    fn mean(self) -> Self::Result;
}
Available on crate feature statistics only.
Expand description

Arithmetic mean

Required Associated Types§

source

type Result

Result type

Required Methods§

source

fn mean(self) -> Self::Result

Compute the arithmetic mean

Implementors§

source§

impl<I> Mean for Iwhere I: Iterator<Item = f32>,

§

type Result = f32