The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
variance.variance
mir
math
stat
variance
meanType
!
Range
variance
(Range r, bool isPopulation)
meanType
!
T
variance
(T[] ar)
template
variance
(VarianceAlgo varianceAlgo = VarianceAlgo.online, Summation summation = Summation.appropriate)
@
fmamath
meanType
!
T
variance
(
T
)
(
scope
const
T
[]
ar
...
)
Parameters
ar
T
[]
values
Meta
Source
See Implementation
mir
math
stat
variance
functions
variance