Click or drag to resize

GammaSample Method (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
C#
public static double Sample(
	double shape,
	double scale
)

Parameters

shape
Type: SystemDouble
Shape.
scale
Type: SystemDouble
Scale.

Return Value

Type: Double
Gamma destributed sample.
See Also