|
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
)
Public Sub New (
<RealAttribute(-1.79769313486232E+308, 1.79769313486232E+308)><DefaultValueAttribute(0)> min As Double,
<RealAttribute(1E-300, 1.79769313486232E+308)><DefaultValueAttribute(1)> max As Double,
<RealAttribute(-1.79769313486232E+308, 1.79769313486232E+308)><DefaultValueAttribute(0.5)> mode As Double
)
Request Example
View SourceParameters
- 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