void TriangularFit(TVec *X, double &a, double &b, double &c, int MaxIter = 500, double Tolerance = 1E-8);
Calculate parameters for Triangular distributed values.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TVec * | Stores data which is assumed to follow triangular distribution. |
| 2 | a | double & | Return Triangular distribution parameter estimator a. |
| 3 | b | double & | Return Triangular distribution parameter estimator b. |
| 4 | c | double & | Return Triangular distribution parameter estimator c. |
| 5 | MaxIter = 500 | int | Maximum number of iterations needed for deriving a, b and d. |
| 6 | Tolerance = 1E-8 | double | Defines the acceptable tolerance for calculating a and b. |
Declared in Dew::Stats::Units::Statistics · Dew.Stats/Units.Statistics.h · Cross-compiler