quantile

open override fun quantile(p: Double): Double(source)

Returns the quantile (inverse CDF) for the given probability p as a Double.

Delegates to quantileInt and converts the result to Double. This override satisfies the Distribution interface contract. Prefer quantileInt when an integer result is needed.

Return

the smallest value at which cdf(x) >= p, as a Double.

Parameters

p

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

Throws