GammaSample Method (RandomGenerator, Double, Double)
|
Static method which generates new sample of gamma distribution with specified parameters.
Namespace:
FinMath.Statistics.Distributions
Assembly:
FinMath (in FinMath.dll) Version: 2.4.7-0a995bd0ea1854c2c868ec3f8dae606c5777e170
Syntax public static double Sample(
RandomGenerator generator,
double shape,
double scale
)
Parameters
- generator
- Type: FinMath.StatisticsRandomGenerator
Base random number generator. - shape
- Type: SystemDouble
Shape. - scale
- Type: SystemDouble
Scale.
Return Value
Type:
DoubleGamma destributed sample.
See Also