Evaluates the discrete uniform cumulative probability distribution
function.
Namespace:
Imsl.Stat
Assembly:
ImslCS (in ImslCS.dll) Version: 6.5.0.0
Syntax
Visual Basic (Declaration) |
---|
Public Shared Function DiscreteUniform ( _
x As Integer, _
n As Integer _
) As Double |
Visual C++ |
---|
public:
static double DiscreteUniform(
int x,
int n
) |
Parameters
- x
- Type: System..::.Int32
An int scalar value representing the argument at which the
function is to be evaluated.
- n
- Type: System..::.Int32
An int scalar value representing the upper limit of the
discrete uniform distribution.
Return Value
A
double scalar value representing the probability that a
discrete uniform random variable takes a value less than or equal
to
x.
See Also