Click or drag to resize

DoubleRandomGammaDistribution(Double, Double, Double, DoubleRandomGammaDistributionGenerationMethod) Constructor

Constructs a random number generator for a gamma distribution using the specified distribution parameters.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public DoubleRandomGammaDistribution(
	double shape,
	double displacement,
	double scale,
	DoubleRandomGammaDistributionGenerationMethod method
)

Parameters

shape  Double
Shape.
displacement  Double
Displacement.
scale  Double
Scale factor.
method  DoubleRandomGammaDistributionGenerationMethod
The generation method to use.
Exceptions
ExceptionCondition
InvalidArgumentExceptionThrown if shape or scale factor is not greater than 0.
Remarks
If shape=1, the gamma distribution reduces to the exponential distribution.
See Also