The OpenD Programming Language

variance.variance

  1. meanType!Range variance(Range r, bool isPopulation)
    template variance(VarianceAlgo varianceAlgo = VarianceAlgo.online, Summation summation = Summation.appropriate)
    meanType!Range
    variance
    (
    Range
    )
    (
    Range r
    ,
    bool isPopulation = false
    )
    if ()
  2. meanType!T variance(T[] ar)
  3. template variance(F, VarianceAlgo varianceAlgo = VarianceAlgo.online, Summation summation = Summation.appropriate)
  4. template variance(F, string varianceAlgo, string summation = "appropriate")
  5. template variance(string varianceAlgo, string summation = "appropriate")

Parameters

r Range

range, must be finite iterable

isPopulation bool

true if population variance, false if sample variance (default)

Meta