Syntax
C# |
---|
public delegate void E04VJ_USRFUN( ref int status, int n, double[] x, int needf, int nf, double[] f, int needg, double[] g ) |
Visual Basic |
---|
Public Delegate Sub E04VJ_USRFUN ( _ ByRef status As Integer, _ n As Integer, _ x As Double(), _ needf As Integer, _ nf As Integer, _ f As Double(), _ needg As Integer, _ g As Double() _ ) |
Visual C++ |
---|
public delegate void E04VJ_USRFUN( int% status, int n, array<double>^ x, int needf, int nf, array<double>^ f, int needg, array<double>^ g ) |
F# |
---|
type E04VJ_USRFUN = delegate of status : int byref * n : int * x : float[] * needf : int * nf : int * f : float[] * needg : int * g : float[] -> unit |
Parameters
- status
- Type: System..::..Int32%On entry: indicates the first call to usrfun.On exit: may be used to indicate that you are unable to evaluate at the current . (For example, the problem functions may not be defined there).e04vj evaluates at random perturbation of the initial point , say . If the functions cannot be evaluated at , you can set , e04vj will use another random perturbation.If for some reason you wish to terminate the current problem, set .
- n
- Type: System..::..Int32On entry: , the number of variables, as defined in the call to e04vj.
- x
- Type: array<System..::..Double>[]()[][]On entry: the variables at which the problem functions are to be calculated. The array must not be altered.
- needf
- Type: System..::..Int32
- nf
- Type: System..::..Int32On entry: , the number of problem functions.
- f
- Type: array<System..::..Double>[]()[][]On entry: this will be set by e04vj.
- needg
- Type: System..::..Int32
- g
- Type: array<System..::..Double>[]()[][]On entry: concerns the calculations of the derivatives of the function .