mean

Calculate the weighted mean of values.

  1. ElementType!Range mean(Range values)
  2. double mean(Values values, Weights weights)
    double
    mean
    (
    Values
    Weights
    )
    (
    Values values
    ,
    Weights weights
    )
    if (
    isInputRange!Values &&
    isForwardRange!Weights
    )

Meta