ExponentialSample Method (Double)
|
Static method which generates new sample of exponential distribution variate with specified rate.
Namespace:
FinMath.Statistics.Distributions
Assembly:
FinMath (in FinMath.dll) Version: 2.4.7-0a995bd0ea1854c2c868ec3f8dae606c5777e170
Syntax public static double Sample(
double rate
)
Parameters
- rate
- Type: SystemDouble
Rate parameter, or inverse scale. Must be positive.
Return Value
Type:
DoubleRandom variable sample.
See Also