[General Information]

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


[Fitting Parameters]

Naming Method=user-defined
Names=B
Lower bounds=--
Upper bounds=--
Meanings=coefficient


[Independent Variables]

x = 


[Dependent Variables]

y = 


[Constants]


[Formula]

y = -ln(B)*B^x

[Constraints]


[Parameters Initialization]
sort( x_y_curve );
smooth( x_y_curve ); 
if ( max( y_data) < 0 )
  x_y_curve *= -1.0; 
x_y_curve = ln( x_y_curve );
double coeff[2];
fitpoly( x_y_curve, 1, coeff);  
B = exp(coeff[1]);


[Initializations]


[After fitting]


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

