Function rstats::functions::wsum[][src]

pub fn wsum(n: usize) -> f64
Expand description

Sum of linear weights 1..n. Also the size of an upper or lower triangular array (including the diagonal)