Click or drag to resize
Accord.NET (logo)

TriangularDistribution Constructor

Constructs a Triangular distribution with the given parameters a, b and c.

Namespace:  Accord.Statistics.Distributions.Univariate
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
public TriangularDistribution(
	[RealAttribute(-1.79769313486232E+308, 1.79769313486232E+308)][DefaultValueAttribute(0)] double min,
	[RealAttribute(1E-300, 1.79769313486232E+308)][DefaultValueAttribute(1)] double max,
	[RealAttribute(-1.79769313486232E+308, 1.79769313486232E+308)][DefaultValueAttribute(0.5)] double mode
)
Request Example View Source

Parameters

min
Type: SystemDouble
The minimum possible value in the distribution (a).
max
Type: SystemDouble
The maximum possible value in the distribution (b).
mode
Type: SystemDouble
The most common value in the distribution (c).
See Also