quantileInt

open override fun quantileInt(p: Double): Int(source)

Returns the quantile (inverse CDF) for the given probability p as an Int.

Return

the smallest integer k at which cdf(k) >= p. Returns Int.MAX_VALUE when p = 1.0.

Parameters

p

the cumulative probability, must be in [0, 1].