Constructs a random number generator using RandGenMTwist as the underlying uniform random number generator. The generated deviates will follow a Weibull distribution with the specified shape and default scale.

Namespace:  CenterSpace.NMath.Core
Assembly:  NMath (in NMath.dll) Version: 5.1.0.0

Syntax

C#
public RandGenWeibull(
	double shape
)
Visual Basic (Declaration)
Public Sub New ( _
	shape As Double _
)
Visual C++
public:
RandGenWeibull(
	double shape
)

Parameters

shape
Type: System..::.Double
The shape parameter for the Weibull distribution. Must be positive.

Remarks

The default scale is 1.0. This value may be altered using the static DEFAULT_SCALE property.

Exceptions

ExceptionCondition
CenterSpace.NMath.Core..::.InvalidArgumentExceptionThrown if the shape parameter is not positive.

See Also