fcn must return the values of the functions fi at a point x, unless iflag=0 on entry to c05qc.

Syntax

C#
public delegate void C05QC_FCN(
	int n,
	double[] x,
	double[] fvec,
	ref int iflag
)
Visual Basic
Public Delegate Sub C05QC_FCN ( _
	n As Integer, _
	x As Double(), _
	fvec As Double(), _
	ByRef iflag As Integer _
)
Visual C++
public delegate void C05QC_FCN(
	int n, 
	array<double>^ x, 
	array<double>^ fvec, 
	int% iflag
)
F#
type C05QC_FCN = 
    delegate of 
        n : int * 
        x : float[] * 
        fvec : float[] * 
        iflag : int byref -> unit

Parameters

n
Type: System..::..Int32
On entry: n, the number of equations.
x
Type: array<System..::..Double>[]()[][]
On entry: the components of the point x at which the functions must be evaluated.
fvec
Type: array<System..::..Double>[]()[][]
On entry: if iflag=0, fvec contains the function values fix and must not be changed.
On exit: if iflag>0 on entry, fvec must contain the function values fix (unless iflag is set to a negative value by fcn).
iflag
Type: System..::..Int32%
On entry: iflag0.
iflag=0
x and fvec are available for printing (see nprint).
iflag>0
fvec must be updated.
On exit: in general, iflag should not be reset by fcn. If, however, you wish to terminate execution (perhaps because some illegal point x has been reached), then iflag should be set to a negative integer.

See Also