IDAX.DUNIF - Density of the uniform distribution

The DUNIF function returns the probability density that the value of a variable that follows the uniform distribution is equal to x.

Syntax

IDAX.DUNIF(DOUBLE x, DOUBLE minimum, DOUBLE maximum)

Parameter descriptions

x
Mandatory.
The value that is to be computed.
x must be higher than the minimum value and lower than the maximum value.
Min: 0.00000000001
Data type: DOUBLE
minimum
Mandatory.
The left border of the support value.
Data type: DOUBLE
maximum
Mandatory.
The right border of the support value.
Data type: DOUBLE
DUNIF(x,minimum,maximum)=1/(maximum-minimum) for all x values, minimum values, and maximum values, where x is between minimum and maximum. If the minimum value is not lower than the maximum value, or if x is not between the minimum value and the maximum value, DUNIF(x,minimum, maximum) is null.

Returned information

DOUBLE the probability density at point x.