LognormalDistributionGetRandomValue Method

Generates a random variate.

Definition

Namespace: Meta.Numerics.Statistics.Distributions
Assembly: Meta.Numerics (in Meta.Numerics.dll) Version: 4.2.0+6d77d64445f7d5d91b12e331399c4362ecb25333
C#
public override double GetRandomValue(
	Random rng
)

Parameters

rng  Random
A random number generator.

Return Value

Double
A value distributed according to the distribution.

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.

Exceptions

See Also