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 e04kz (see E04 class).
Syntax
C# |
---|
public delegate void E04KZ_FUNCT2( int n, double[] xc, out double fc, double[] gc ) |
Visual Basic |
---|
Public Delegate Sub E04KZ_FUNCT2 ( _ n As Integer, _ xc As Double(), _ <OutAttribute> ByRef fc As Double, _ gc As Double() _ ) |
Visual C++ |
---|
public delegate void E04KZ_FUNCT2( int n, array<double>^ xc, [OutAttribute] double% fc, array<double>^ gc ) |
F# |
---|
type E04KZ_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 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 .