You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Dew.Math.Units Namespace > Classes > Probabilities Class > Probabilities Methods > UniformDPDF Method > Probabilities.UniformDPDF Method (int, int)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
Probabilities.UniformDPDF Method (int, int)

Discrete uniform probability density function (PDF).

Syntax
C#
Visual Basic
public static double UniformDPDF(int x, int N);

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!