Click or drag to resize

RandGenGeometric(Double, Int32) Constructor

Constructs a random number generator using a seeded 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,
	int seed
)

Parameters

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