Click or drag to resize

RandGenGeometric(Double) Constructor

Constructs a random number generator using a RandGenMTest as the underlying uniform random number generator. The generated deviates will follow a Geometric distribution with probability of success
C#
.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public RandGenGeometric(
	double p
)

Parameters

p  Double
Probability of success.
Exceptions
ExceptionCondition
InvalidArgumentExceptionThrown of the probability
C#
is less than zero or greater than one.
See Also