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