Quantile function of the exponential distribution. Equivalent to R's qexp(p, rate = 1, lower.tail = TRUE, log.p = FALSE).
qexp(p, rate = 1, lower.tail = TRUE, log.p = FALSE)
Probability (or log probability with logP): a number, number[] or Float64Array. The result has the same shape.
logP
number[]
Float64Array
rate (see ExponentialParams), lowerTail and logP (see TailOptions).
rate
lowerTail
The quantile(s).
qexp(0.5, { rate: 2 }); // 0.34657359027997264qexp([0.25, 0.75]); // [0.2876820724517809, 1.3862943611198906] Copy
qexp(0.5, { rate: 2 }); // 0.34657359027997264qexp([0.25, 0.75]); // [0.2876820724517809, 1.3862943611198906]
Quantile function of the exponential distribution. Equivalent to R's
qexp(p, rate = 1, lower.tail = TRUE, log.p = FALSE).