Dew MtxVec NET
UniformPDF Routines
Summary
Uniform probability density function (PDF).

Unit
Probabilities

Declaration
Procedure UniformPDF(X: TDenseMtxVec; A, B: TSample; Res: TDenseMtxVec);

Description
Calculates the uniform PDF for vector X using the parameters A and B. The results are stored in vector Res. The Res Length and Complex properties are adjusted automatically. If vector X is complex, an exception is raised.
Declaration
Function UniformPDF(x: TSample; a, b: TSample): TSample;
Result
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.
Categories
Continuous probabilities
 See Also 
UniformCDF 
UniformCDFInv 

Copyright 2008 Dew Research
http://www.dewresearch.com