You are here: Symbol Reference > Probabilities Namespace > Functions > Probabilities.UniformPDF Function
MtxVec VCL
ContentsIndex
PreviousUpNext
Probabilities.UniformPDF Function

Uniform probability density function (PDF).

Pascal
function UniformPDF(x: double; a: double; b: double): double; overload;
Parameters 
Description 
Distribution domain, real value on closed interval [a,b]. 
Distribution parameter, real value, defining distribution lower bound. 
Distribution parameter, real value, defining distribution upper bound. 

the uniform probability density function (PDF) for value x using the parameters a and b. The parameter a must be smaller than parameter b, otherwise the result is NAN.

The uniform probability density function is defined by the following equation: 

 

where a and b define the interval on which uniform CDF is defined. Uniform distribution is perhaps the simplest distribution with which to work. It can be used do describe processes in which the events occur with equal or uniform probability.

Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!