mean.mean

Computes the arithmetic mean of elements in a range or array, with configurable summation method. (community summary)

  1. meanType!Range mean(Range r)
  2. meanType!T mean(T[] ar)
    template mean(Summation summation = Summation.appropriate)
    @fmamath
    mean
    (
    T
    )
    (
    scope const T[] ar...
    )

Parameters

ar T[]

values