TCustomFittingFunction.AnswerVector
 
 
 

All Units  All Classes  Properties, Methods and Events  

TCustomFittingFunction.AnswerVector
TCustomFittingFunction

property AnswerVector[Index: Integer]: Double;

Unit
CurvFitt

Description
Read-only and run time only.
The AnswerVector array property returns the polynomical coefficients used to calculate all CurveFitting points.
TCurveFittingFunction calculates the coefficients just before drawing all points.

This code displays the polynomy:

for t := 1 to CurveFittingSeries1.PolyDegree do
begin
WriteLn( 'Degree: ', t, CurveFittingSeries1.AnswerVector[ t ]:15:5 );
end;

The GetCurveYValue function returns the corresponding Y value for a given X value.



Send us Help Feedback. Copyright 1995-2013 © by Steema Software. All Rights Reserved.