Syntax
C# |
---|
public delegate void E04GD_LSQFUN( ref int iflag, int m, int n, double[] xc, double[] fvec, double[,] fjac ) |
Visual Basic |
---|
Public Delegate Sub E04GD_LSQFUN ( _ ByRef iflag As Integer, _ m As Integer, _ n As Integer, _ xc As Double(), _ fvec As Double(), _ fjac As Double(,) _ ) |
Visual C++ |
---|
public delegate void E04GD_LSQFUN( int% iflag, int m, int n, array<double>^ xc, array<double>^ fvec, array<double,2>^ fjac ) |
F# |
---|
type E04GD_LSQFUN = delegate of iflag : int byref * m : int * n : int * xc : float[] * fvec : float[] * fjac : float[,] -> unit |
Parameters
- iflag
- Type: System..::..Int32%On entry: to lsqfun, iflag will be set to or .
- Indicates that only the Jacobian matrix needs to be evaluated
- Indicates that both the residuals and the Jacobian matrix must be calculated
On exit: if it is not possible to evaluate the or their first derivatives at the point given in xc (or if it wished to stop the calculations for any other reason), you should reset iflag to some negative number and return control to e04gd. e04gd will then terminate immediately, with ifail set to your setting of iflag.
- m
- Type: System..::..Int32On entry: , the numbers of residuals.
- n
- Type: System..::..Int32On entry: , the numbers of variables.
- xc
- Type: array<System..::..Double>[]()[][]On entry: the point at which the values of the and the are required.
- fvec
- Type: array<System..::..Double>[]()[][]On exit: unless on entry, or iflag is reset to a negative number, then must contain the value of at the point , for .
- fjac
- Type: array<System..::..Double,2>[,](,)[,][,]On exit: unless iflag is reset to a negative number, must contain the value of at the point , for and .