The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
moment.moment
mir
stat
descriptive
univariate
moment
meanType
!
F
moment
(Range r)
stdevType
!
F
moment
(Range r)
meanType
!
F
moment
(F[] ar)
stdevType
!
F
moment
(F[] ar)
template
moment
(F, size_t N, MomentAlgo momentAlgo, Summation summation = Summation.appropriate)
@
fmamath
stdevType
!
F
moment
()
(
scope
const
F
[]
ar
...
)
if
(
momentAlgo
==
MomentAlgo.standardized
)
Parameters
ar
F
[]
values
Meta
Source
See Implementation
mir
stat
descriptive
univariate
moment
functions
moment