GammaDistribution.MomentFunction Method

Returns the value of the moment function of the specified order.

Definition

Namespace: Numerics.NET.Statistics.Distributions
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
public override double MomentFunction(
	int order,
	double x
)

Parameters

order  Int32
The order of the moment function.
x  Double
The point at which to evaluate the moment function.

Return Value

Double
The value of the moment function of order order at x.

Remarks

The order must be greater than or equal to zero.

Exceptions

ArgumentOutOfRangeException

order is less than zero.

See Also