The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
quantile.quantile
mir
stat
descriptive
univariate
quantile
quantileType
!(
Slice
!(
Iterator
),
quantileAlgo
)
quantile
(Slice!(Iterator, N, kind) slice, G p)
auto
quantile
(Slice!(IteratorA, N, kindA) slice, Slice!(IteratorB, 1, kindB) p)
template
quantile
(QuantileAlgo quantileAlgo = QuantileAlgo.type7, bool allowModifySlice = false, bool allowModifyProbability = false)
auto
quantile
(
IteratorA
size_t
N
SliceKind
kindA
IteratorB
SliceKind
kindB
)
(
Slice
!(
IteratorA
,
N
,
kindA
)
slice
,
Slice
!(
IteratorB
, 1,
kindB
)
p
)
if
(
isFloatingPoint
!(
elementType
!(
Slice
!(
IteratorB
)))
)
auto
quantile
(Slice!(Iterator, N, kind) slice, G[] p)
auto
quantile
(SliceLike x, G p)
auto
quantile
(SliceLikeX x, SliceLikeP p)
Parameters
slice
Slice
!(
IteratorA
,
N
,
kindA
)
slice
p
Slice
!(
IteratorB
, 1,
kindB
)
probability
Meta
Source
See Implementation
mir
stat
descriptive
univariate
quantile
functions
quantile