The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
wsum.wsum
mir
stat
descriptive
weighted
wsum
sumType
!
SliceA
wsum
(SliceA s, SliceB w)
sumType
!
Range
wsum
(Range r)
template
wsum
(Summation summation = Summation.appropriate)
@
fmamath
sumType
!
Range
wsum
(
Range
)
(
Range
r
)
if
(
isIterable
!
Range
)
Parameters
r
Range
range, must be finite iterable
Meta
Source
See Implementation
mir
stat
descriptive
weighted
wsum
functions
wsum