InverseGaussianDistribution Constructor

Definition

Namespace: Numerics.NET.Statistics.Distributions
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4

Overload List

InverseGaussianDistribution(Double) Constructs a new standard InverseGaussianDistribution (Wald distribution) with the specified scale parameter.
InverseGaussianDistribution(Double, Double) Constructs a new InverseGaussianDistribution or Wald distribution with the specified location and scale parameter.

InverseGaussianDistribution(Double)

Constructs a new standard InverseGaussianDistribution (Wald distribution) with the specified scale parameter.
C#
public InverseGaussianDistribution(
	double scale
)

Parameters

scale  Double
The scale parameter. Must be strictly greater than zero.

Remarks

The location parameter is set to 1. A distribution with this value for the location parameter is also known as the Wald distribution.

Exceptions

ArgumentOutOfRangeException

scale is less than zero.

InverseGaussianDistribution(Double, Double)

Constructs a new InverseGaussianDistribution or Wald distribution with the specified location and scale parameter.
C#
public InverseGaussianDistribution(
	double location,
	double scale
)

Parameters

location  Double
The location parameter of the distribution. Must be strictly greater than zero.
scale  Double
The scale parameter. Must be strictly greater than zero.

Exceptions

ArgumentOutOfRangeException

location is less than or equal to zero.

-or-

scale is less than zero.

See Also