[General Information]

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


[Fitting Parameters]                        

Naming Method=user-defined
Names=A
Lower bounds=--
Upper bounds=--
Meanings=position

[Independent Variables]
x = 

[Dependent Variables]
y = 

[Constants]

[Formula]
y = 1/(x + A)

[Constraints]

[Parameters Initialization]
sort( x_y_curve );
//smooth( x_y_curve, 2 );
Dataset dsX;
x_y_curve.AttachX(dsX);
x_y_curve = 1.0/x_y_curve - dsX;
double dPercent = 50;
ocmath_percentiles(x_y_curve, x_y_curve.GetSize(), &dPercent, 1, &A);
                               
[Initializations]

[After fitting]

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