Click or drag to resize

RandGenWeibull(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 Weibull distribution with the specified shape default scale.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public RandGenWeibull(
	double shape,
	int seed
)

Parameters

shape  Double
The shape parameter for the Weibull distribution. Must be positive.
seed  Int32
Random number seed.
Exceptions
ExceptionCondition
InvalidArgumentExceptionThrown if the shape scale parameter is not positive.
Remarks
The default scale is 1.0. This value may be altered using the static DEFAULT_SCALE property.
See Also