[][src]Function rstats::awmean

pub fn awmean(dvec: &[i64]) -> Result<f64>

Linearly weighted arithmetic mean of an i64 slice.
Linearly descending weights from n down to one.
Time dependent data should be in the stack order - the last being the oldest.