Click or drag to resize

DoubleRandomGammaDistribution Constructor (Double, Double, Double, DoubleRandomGammaDistributionGenerationMethod)

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
Type: SystemDouble
Shape.
displacement
Type: SystemDouble
Displacement.
scale
Type: SystemDouble
Scale factor.
method
Type: CenterSpace.NMath.CoreDoubleRandomGammaDistributionGenerationMethod
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