Function mean

Source
pub fn mean<T>(input: &[T]) -> T
where T: Float + NumAssign + Copy,
Expand description

Simply calculate the mean of a vector of numbers

**Note:** We don't want an external dependency for thisallone, but might switch to ndarray in the future.