Triangular(Double, Double, Double) Constructor |
Initializes a new instance of the Triangular class with the given lower bound, upper bound and mode.
Namespace: Altaxo.Calc.DistributionsAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public Triangular(
double lower,
double upper,
double mode
)
Parameters
- lower Double
- Lower bound. Range: lower ≤ mode ≤ upper
- upper Double
- Upper bound. Range: lower ≤ mode ≤ upper
- mode Double
- Mode (most frequent value). Range: lower ≤ mode ≤ upper
Exceptions Exception | Condition |
---|
ArgumentException | If the upper bound is smaller than the mode or if the mode is smaller than the lower bound. |
See Also