Auxiliary for use as a delegate parameter

Syntax

C#
public static void e04nfu(
	int n,
	int jthcol,
	double[,] h,
	double[] x,
	double[] hx,
	E04..::..e04nfOptions options
)
Visual Basic
Public Shared Sub e04nfu ( _
	n As Integer, _
	jthcol As Integer, _
	h As Double(,), _
	x As Double(), _
	hx As Double(), _
	options As E04..::..e04nfOptions _
)
Visual C++
public:
static void e04nfu(
	int n, 
	int jthcol, 
	array<double,2>^ h, 
	array<double>^ x, 
	array<double>^ hx, 
	E04..::..e04nfOptions^ options
)
F#
static member e04nfu : 
        n : int * 
        jthcol : int * 
        h : float[,] * 
        x : float[] * 
        hx : float[] * 
        options : E04..::..e04nfOptions -> unit 

Parameters

n
Type: System..::..Int32
On entry: the number n of variables.
jthcol
Type: System..::..Int32
On entry: specifies whether or not the vector x is a column of the identity matrix.
jthcol=j>0
The vector x is the jth column of the identity matrix, and hence Hx or hTHx is the jth column of h or hTH, respectively, which may in some cases require very little computation and _qphess may be coded to take advantage of this. However special code is not necessary because x is always stored explicitly in the array x.
jthcol=0
x has no special form.
h
Type: array<System..::..Double,2>[,](,)[,][,]
An array of size [dim1, dim2]
Note: dim1 must satisfy the constraint:
On entry: this is the same parameter h as supplied to e04nf.
x
Type: array<System..::..Double>[]()[][]
An array of size [n]
On entry: x[j-1] must be set to a guess at the jth component of the position of the minimum, for j=1,2,,n. The method checks the gradient and the Hessian matrix at the starting point, and is more likely to detect any error in your programming if the initial x[j-1] are nonzero and mutually distinct.
On exit: the lowest point found during the calculations. Thus, if ifail=0 on exit, x[j-1] is the jth component of the position of the minimum.
hx
Type: array<System..::..Double>[]()[][]
An array of size [n]
options
Type: NagLibrary..::..E04..::..e04nfOptions
An Object of type E04.e04nfuOptions. Used to configure optional parameters to this method.

Description

Auxiliary for use as a delegate parameter

References

None.

Error Indicators and Warnings

ifail=-4000
Invalid dimension for array value
ifail=-8000
Negative dimension for array value
ifail=-6000
Invalid Parameters value

Accuracy

Not applicable.

Further Comments

None.

Example

None.

See Also