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