Click or drag to resize

WeibullDistributionGetRandomValue Method

Generates a random variate.

Namespace:  Meta.Numerics.Statistics.Distributions
Assembly:  Meta.Numerics (in Meta.Numerics.dll) Version: 4.1.4
Syntax
public override double GetRandomValue(
	Random rng
)

Parameters

rng
Type: SystemRandom
A random number generator.

Return Value

Type: Double
A value distributed according to the distribution.
Exceptions
ExceptionCondition
ArgumentNullExceptionrng is .
Remarks

Note that the random number generator rng will be advanced by this method. The next call to its generator methods will not give the same value as it would had it not been passed to this method.

See Also