The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
WMeanAccumulator.weights
mir
stat
descriptive
weighted
WMeanAccumulator
struct
WMeanAccumulator
(T, Summation summation, AssumeWeights assumeWeights, U = T, Summation weightsSummation = summation)
static if
(
!assumeWeights
)
Summator
!(
U
,
weightsSummation
)
weights
;
Meta
Source
See Implementation
mir
stat
descriptive
weighted
WMeanAccumulator
functions
put
weight
wmean
wsum
variables
weights
wsummator