UDF Generation¶
The Save TableCurve 3D UDF option in the File menu of the Surface-Fit Graph is used to generate UDFs for all built-in equations with 10 or fewer parameters (11 and higher parameter count polynomial and rational equations are excluded).
The generated UDF will consist of the full mathematical equation expression rather than a reference to a built-in function. Note that this generated code will contain only the native mathematical computation. There will be no conditional statements to manage undefined regions. The estimates in the generated UDFs will consist of the values of the actual fitted parameters.
Note that for non-linear equations, generated UDFs will not execute as fast as the built-in functions available via the XY Non-Lin Base function insert help in the User Functions entry dialog. The built-in non-linear functions also contain the conditional code insuring that the functions will return a valid value for all X,Y.