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

Discrete uniform probability density function (PDF).

Pascal
function UniformDPDF(x: Integer; N: Integer): double; overload;

the discrete uniform probability density function (PDF) for value x using the parameter N. The parameter N must be greater than 0, otherwise the result is NAN.

The discrete uniform distribution is a simple distribution that puts equal weights 1/N on the integers from 1 to N.

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