You must supply this method to calculate the values of the function and its first derivatives at any point . It should be tested separately before being used in conjunction with e04ly (see the E04 class).
Syntax
C# |
---|
public delegate void E04LY_FUNCT2( int n, double[] xc, ref double fc, double[] gc ) |
Visual Basic |
---|
Public Delegate Sub E04LY_FUNCT2 ( _ n As Integer, _ xc As Double(), _ ByRef fc As Double, _ gc As Double() _ ) |
Visual C++ |
---|
public delegate void E04LY_FUNCT2( int n, array<double>^ xc, double% fc, array<double>^ gc ) |
F# |
---|
type E04LY_FUNCT2 = delegate of n : int * xc : float[] * fc : float byref * gc : float[] -> unit |
Parameters
- n
- Type: System..::..Int32On entry: the number of variables.
- xc
- Type: array<System..::..Double>[]()[][]On entry: the point at which the function and its derivatives are required.
- fc
- Type: System..::..Double%On exit: the value of the function at the current point .
- gc
- Type: array<System..::..Double>[]()[][]On exit: must be set to the value of the first derivative at the point , for .