You must supply this method to calculate the vector of values fix and the Jacobian matrix of first derivatives fixj at any point x. It should be tested separately before being used in conjunction with e04gz.

Syntax

C#
public delegate void E04GZ_LSFUN2(
	int m,
	int n,
	double[] xc,
	double[] fvec,
	double[,] fjac
)
Visual Basic
Public Delegate Sub E04GZ_LSFUN2 ( _
	m As Integer, _
	n As Integer, _
	xc As Double(), _
	fvec As Double(), _
	fjac As Double(,) _
)
Visual C++
public delegate void E04GZ_LSFUN2(
	int m, 
	int n, 
	array<double>^ xc, 
	array<double>^ fvec, 
	array<double,2>^ fjac
)
F#
type E04GZ_LSFUN2 = 
    delegate of 
        m : int * 
        n : int * 
        xc : float[] * 
        fvec : float[] * 
        fjac : float[,] -> unit

Parameters

m
Type: System..::..Int32
On entry: m, the numbers of residuals.
n
Type: System..::..Int32
On entry: n, the numbers of variables.
xc
Type: array<System..::..Double>[]()[][]
On entry: the point x at which the values of the fi and the fixj are required.
fvec
Type: array<System..::..Double>[]()[][]
On exit: fvec[i-1] must be set to the value of fi at the point x, for i=1,2,,m.
fjac
Type: array<System..::..Double,2>[,](,)[,][,]
On exit: fjac[i-1,j-1] must be set to the value of fixj at the point x, for i=1,2,,m and j=1,2,,n.

See Also