objfun must calculate either the th element of the vector or all elements of and (optionally) its Jacobian () for a specified -element vector .
Syntax
C# |
---|
public delegate void E04US_OBJFUN( ref int mode, int m, int n, int needfi, double[] x, double[] f, double[,] fjac, int nstate ) |
Visual Basic |
---|
Public Delegate Sub E04US_OBJFUN ( _ ByRef mode As Integer, _ m As Integer, _ n As Integer, _ needfi As Integer, _ x As Double(), _ f As Double(), _ fjac As Double(,), _ nstate As Integer _ ) |
Visual C++ |
---|
public delegate void E04US_OBJFUN( int% mode, int m, int n, int needfi, array<double>^ x, array<double>^ f, array<double,2>^ fjac, int nstate ) |
F# |
---|
type E04US_OBJFUN = delegate of mode : int byref * m : int * n : int * needfi : int * x : float[] * f : float[] * fjac : float[,] * nstate : int -> unit |
Parameters
- mode
- Type: System..::..Int32%On entry: indicates which values must be assigned during each call of objfun. Only the following values need be assigned:
- m
- Type: System..::..Int32On entry: , the number of subfunctions.
- n
- Type: System..::..Int32On entry: , the number of variables.
- needfi
- Type: System..::..Int32On entry: if , only the th element of needs to be evaluated at ; the remaining elements need not be set. This can result in significant computational savings when .
- x
- Type: array<System..::..Double>[]()[][]On entry: , the vector of variables at which and/or all available elements of its Jacobian are to be evaluated.
- f
- Type: array<System..::..Double>[]()[][]On exit: if and , must contain the value of at .If or and , must contain the value of at , for .
- fjac
- Type: array<System..::..Double,2>[,](,)[,][,]On entry: is set to a special value.
- nstate
- Type: System..::..Int32