The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....


Class: TCurveFit
Declaration: function Evaluate (XVal: double): double;

The function Evaluate evaluates the previously fitted regression model at the x position XVal.

Hint: The method Evaluate is comparable to the method Predict. However, Evaluate only returns the estimated y value and uses the previously calculated regression model as the evaluation function. If no regression model has been calculated the function returns a constant zero value, independent of XVal.

Last Update: 2023-Feb-06