ErlangDistribution Constructor

Constructs a new ErlangDistribution with the specified order and scale parameters.

Definition

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

Parameters

order  Int32
The order of the distribution. Must be an integer strictly greater than zero.
scale  Double
The scale parameter. Must be strictly greater than zero.

Remarks

The Erlang distribution is a gamma distribution with positive integer order.

Exceptions

ArgumentOutOfRangeException

The order order is less than or equal to zero.

-or-

scale is less than or equal to zero.

See Also