[General Information]

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


[Fitting Parameters]

Naming Method=user-defined
Names=y0,A,R0
Lower bounds=--,0.0(X,ON),--
Upper bounds=--,--,--
Meanings=offset,initial value,Rate


[Independent Variables]

x = 


[Dependent Variables]

y = 


[Constants]


[Formula]
y = y0 + A*exp(R0*x)

[Constraints]


[Parameters Initialization]
sort( x_y_curve );
smooth( x_y_curve );
y0 = min( y_data ); 
x_y_curve = ln( x_y_curve - y0 );
double coeff[2];
fitpoly( x_y_curve, 1, coeff);  
A = coeff[0];
R0 = coeff[1];


[Initializations]


[After fitting]


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

