Click or drag to resize
LognormalDistributionGetRandomValue Method
Returns a random value.

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

Parameters

rng
Type: SystemRandom
A random number generator.

Return Value

Type: Double
A number distributed according to the distribution.
Exceptions
ExceptionCondition
ArgumentNullExceptionrng is null.
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