Click or drag to resize

RandGenWeibull(Double, Double, RandomNumberGeneratorUniformRandomNumber) Constructor

Constructs a RandGenWeibull random number generator instance with the given shape, scale, and underlying uniform random number delegate.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public RandGenWeibull(
	double shape,
	double scale,
	RandomNumberGeneratorUniformRandomNumber rand
)

Parameters

shape  Double
The shape parameter for the Weibull distribution. Must be positive.
scale  Double
The scale parameter for the Weibull distribution. Must be positive.
rand  RandomNumberGeneratorUniformRandomNumber
The underlying uniform random number generator.
Exceptions
ExceptionCondition
InvalidArgumentExceptionThrown if either the shape or scale parameters are not positive.
Remarks
Random deviates that follow the Weibull distribution are generated by performing a transformation on the random deviates generated from a uniform distribution.
See Also