Click or drag to resize

FloatRandomGammaDistribution(Single, Single, Single, FloatRandomGammaDistributionGenerationMethod) 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 FloatRandomGammaDistribution(
	float shape,
	float displacement,
	float scale,
	FloatRandomGammaDistributionGenerationMethod method
)

Parameters

shape  Single
Shape.
displacement  Single
Displacement.
scale  Single
Scale factor.
method  FloatRandomGammaDistributionGenerationMethod
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