quantiles

Calculate the quantiles of values mapped with fun. The elements of values are passed to fun before calculating the quantiles. This removes the necessity of creating a proxy range.

All quantiles are undefined if values is empty.

quantiles
(
alias fun = "a"
Range
F
)
(
Range values
,
F[] ps...
)
if (
isFloatingPoint!F
)

Return Value

Type: auto

Range of quantiles. The returned range isRandomAccessRange, hasSlicing and has the same length as ps.

Meta