Syntax
C# |
---|
public delegate void E04XA_OBJFUN( ref int mode, int n, double[] x, ref double objf, double[] objgrd, int nstate ) |
Visual Basic |
---|
Public Delegate Sub E04XA_OBJFUN ( _ ByRef mode As Integer, _ n As Integer, _ x As Double(), _ ByRef objf As Double, _ objgrd As Double(), _ nstate As Integer _ ) |
Visual C++ |
---|
public delegate void E04XA_OBJFUN( int% mode, int n, array<double>^ x, double% objf, array<double>^ objgrd, int nstate ) |
F# |
---|
type E04XA_OBJFUN = delegate of mode : int byref * n : int * x : float[] * objf : float byref * objgrd : float[] * nstate : int -> unit |
Parameters
- mode
- Type: System..::..Int32%
- n
- Type: System..::..Int32On entry: the number of variables as input to e04xa.
- x
- Type: array<System..::..Double>[]()[][]On entry: the point at which the objective function (and gradients if ) is to be evaluated.
- objf
- Type: System..::..Double%On exit: must be set to the value of the objective function.
- objgrd
- Type: array<System..::..Double>[]()[][]On exit: if , must contain the value of the first derivative with respect to .If , objgrd need not be set.
- nstate
- Type: System..::..Int32