Distribution function of the uniform distribution. Equivalent to R's punif(q, min = 0, max = 1, lower.tail = TRUE, log.p = FALSE).
punif(q, min = 0, max = 1, lower.tail = TRUE, log.p = FALSE)
Quantile(s): a number, number[] or Float64Array. The result has the same shape.
number[]
Float64Array
min and max (see UniformParams), lowerTail and logP (see TailOptions).
min
max
lowerTail
logP
The probability (or log probability).
punif(0.3); // 0.3punif(1.5, { min: 1, max: 3 }); // 0.25 Copy
punif(0.3); // 0.3punif(1.5, { min: 1, max: 3 }); // 0.25
Distribution function of the uniform distribution. Equivalent to R's
punif(q, min = 0, max = 1, lower.tail = TRUE, log.p = FALSE).