Click or drag to resize
Accord.NET (logo)

GammaDistribution. Marsaglia 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: System.Double
c
Type: System.Double
source
Type: System.Random

Return Value

Type: Double
See Also