var.var

  1. auto var(S slice, bool isPopulation)
    template var(sumTemplateArgs...)
    nothrow @nogc deprecated pure nothrow @nogc
    var
    (
    S
    )
    (,
    bool isPopulation = true
    )
    if (
    isSlice!S
    )
  2. auto var(S slice, Seed seed, bool isPopulation)

Parameters

slice S

input slice

isPopulation bool

true (default) if computing population variance, false otherwise

Return Value

Type: auto

variance of slice

Meta