***compare i_func_file#

Description#

This comparison is similar to i_file_file except that a function will be evaluated for all the \(x\) values of the reference file, and the values will be compared directly.

The function to be optimized is given by:

(508)#\[{\cal F}_i = \frac{1}{{2 N}} \sum_{i=1}^N ( {funame}({t_{1,i}} \dots {t_{n,i}}) -{y}_i)^{2}\]

Syntax#

The following syntax is used here:

i_func_file funame \(t_{i,1}\)\(t_{i,n}\) y flname \(~\,~\,~\,~\,\) [weight vweight]

funame is the name of a function defined under ***function, flname is the name of a “column” file. \(t_{i,1}\)\(t_{i,n}\) are the columns id’s representing the \(n\) arguments of flname (other than optimization variables that also can be arguments of the function). y is the column of flname representing the function values associated with the \(n\)–uplets \(({t_{i,1}} \dots {t_{i,n}})\).