Constructs a TriangularDistribution with the given parameters.

Namespace:  CenterSpace.NMath.Stats
Assembly:  NMathStats (in NMathStats.dll) Version: 3.4.0.0

Syntax

C#
public TriangularDistribution(
	double lowerLimit,
	double upperLimit,
	double mode
)
Visual Basic (Declaration)
Public Sub New ( _
	lowerLimit As Double, _
	upperLimit As Double, _
	mode As Double _
)
Visual C++
public:
TriangularDistribution(
	double lowerLimit, 
	double upperLimit, 
	double mode
)

Parameters

lowerLimit
Type: System..::.Double
The upper limit of the distribution.
upperLimit
Type: System..::.Double
The lower limit of the distribution.
mode
Type: System..::.Double
The mode of the distribution. Must be between the upper and lower limits.

Exceptions

ExceptionCondition
CenterSpace.NMath.Core..::.InvalidArgumentExceptionThrown if the mode is less than the lower limit or greater than the upper limit.

See Also