[General Information]

Function Name=Parabola	 	; name show up in the select function dialog
Brief Description=Parabola function
Function Type=Built-in		; source type, built-in, user-defined, external dll
Function Form=Expression	; function form;
Function Source=fgroup.Parabola
Number Of Parameters=3
Number Of Independent Variables=1
Number Of Dependent Variables=1


[Fitting Parameters]                        

Naming Method=user-defined
Names=A, B, C
Lower bounds=--,--,--
Upper bounds=--,--,--
Meanings=offset, cofficient, cofficient

[Independent Variables]
x = 

[Dependent Variables]
y = 

[Constants]

[Formula]
y = A + B*x + C*x^2

[Constraints]


[Parameters Initialization]
sort( x_y_curve );
//smooth( x_y_curve, 2 );
double coeff[3];
if (!fitpoly( x_y_curve, 2, coeff))
{
	nErr = -1;
	return;
}
A = coeff[0];
B = coeff[1];
C = coeff[2];


[Initializations]

[After fitting]

[Controls]
General Linear Constraints=Off
Initialization scripts=Off
Scripts After fitting=Off
