Parameters
double
p
The probability (p) of generating one. Range: 0 ≤ p ≤ 1.
Random
randomSource
The random number generator which is used to draw random samples.
double
pThe probability (p) of generating one. Range: 0 ≤ p ≤ 1.
Random
randomSourceThe random number generator which is used to draw random samples.
double
pThe probability (p) of generating one. Range: 0 ≤ p ≤ 1.
double
pThe probability (p) of generating one. Range: 0 ≤ p ≤ 1.
double
xThe location at which to compute the cumulative distribution function.
double
the cumulative distribution at location x.
double
pThe probability (p) of generating one. Range: 0 ≤ p ≤ 1.
double
pThe probability (p) of generating one. Range: 0 ≤ p ≤ 1.
int
kThe location in the domain where we want to evaluate the probability mass function.
double
the probability mass at location k.
double
pThe probability (p) of generating one. Range: 0 ≤ p ≤ 1.
int
kThe location in the domain where we want to evaluate the log probability mass function.
double
the log probability mass at location k.
Random
rndThe random number generator to use.
double
pThe probability (p) of generating one. Range: 0 ≤ p ≤ 1.
double
pThe probability (p) of generating one. Range: 0 ≤ p ≤ 1.
Int32[]
valuesThe array to fill with the samples.
double
pThe probability (p) of generating one. Range: 0 ≤ p ≤ 1.
Random
rndThe random number generator to use.
Int32[]
valuesThe array to fill with the samples.
double
pThe probability (p) of generating one. Range: 0 ≤ p ≤ 1.
Random
rndThe random number generator to use.
double
pThe probability (p) of generating one. Range: 0 ≤ p ≤ 1.
double
pThe probability (p) of generating one. Range: 0 ≤ p ≤ 1.
double
xThe location at which to compute the cumulative distribution function.
double
the cumulative distribution at location x.
int
kThe location in the domain where we want to evaluate the probability mass function.
double
the probability mass at location k.
int
kThe location in the domain where we want to evaluate the log probability mass function.
double
the log probability mass at location k.
int
A sample from the Geometric distribution.
IEnumerable<int>
a sequence of samples from the distribution.
Throws a not supported exception.