Click or drag to resize
Accord.NET (logo)

GammaDistributionMarsaglia Method (Double, Double, Random)

Random Gamma-distribution number generation based on Marsaglia's Simple Method (2000).

Namespace:  Accord.Statistics.Distributions.Univariate
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
public static double Marsaglia(
	double d,
	double c,
	Random source
)
Request Example View Source

Parameters

d
Type: SystemDouble
c
Type: SystemDouble
source
Type: SystemRandom

Return Value

Type: Double
See Also