Click or drag to resize

RandGenNormal(Double, Double, Int32) Constructor

Constructs a random number generator using a seeded RandGenMTwist as the underlying uniform random number generator. The generated deviates will follow a normal distribution with the specified mean and variance.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public RandGenNormal(
	double mean,
	double variance,
	int seed
)

Parameters

mean  Double
The mean.
variance  Double
The variance. Must be greater than or equal to zero.
seed  Int32
Random number seed.
Exceptions
ExceptionCondition
InvalidArgumentExceptionThrown if passed a negative variance.
See Also