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
)
Public Overrides Function GetRandomValue (
rng As Random
) As Double
public:
virtual double GetRandomValue(
Random^ rng
) override
abstract GetRandomValue :
rng : Random -> float
override GetRandomValue :
rng : Random -> float
Parameters
- rng
- Type: SystemRandom
A random number generator.
Return Value
Type:
DoubleA value distributed according to the distribution.
Exceptions 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