The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
center.center
mir
stat
transform
center
auto
center
(Slice!(Iterator, N, kind) slice)
auto
center
(T x)
template
center
(alias centralTendency = mean!(Summation.appropriate))
auto
center
(
T
)
(
T
x
)
if
(
isConvertibleToSlice
!
T
&&
!
isSlice
!
T
)
Meta
Source
See Implementation
mir
stat
transform
center
functions
center