The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
VarianceAccumulator.sumOfSquares
mir
stat
descriptive
univariate
VarianceAccumulator
struct
VarianceAccumulator
(T, VarianceAlgo varianceAlgo, Summation summation)
const
F
sumOfSquares
(
F
=
T
)
(
)
if
(
isMutable
!
T
&&
varianceAlgo
==
VarianceAlgo.naive
)
Meta
Source
See Implementation
mir
stat
descriptive
univariate
VarianceAccumulator
constructors
this
functions
centeredSumOfSquares
count
mean
put
sumOfSquares
variance