Returns a random sample from the distribution.
Namespace:
Extreme.Statistics.Distributions
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public override double Sample(
Random random
)
Public Overrides Function Sample (
random As Random
) As Double
public:
virtual double Sample(
Random^ random
) override
abstract Sample :
random : Random -> float
override Sample :
random : Random -> float
Parameters
- random
- Type: SystemRandom
The Random
derived random number generator used to generate
the sample.
Return Value
Type:
DoubleA double-precision floating-point number.
This method uses the random number generator
specified by random to
generate a random sample from the distribution.
The return values of successive calls to this method
follow the distribution represented by this
distribution.
Reference