E04.E04GD_LSQMON Delegate
関数リスト一覧   NagLibrary Namespaceへ  ライブラリイントロダクション  本ヘルプドキュメントのchm形式版

If iprint0, you must supply lsqmon which is suitable for monitoring the minimization process. lsqmon must not change the values of any of its parameters.
If iprint<0, the dummy method e04fdz can be used as lsqmon.

Syntax

C#
public delegate void E04GD_LSQMON(
	int m,
	int n,
	double[] xc,
	double[] fvec,
	double[,] fjac,
	double[] s,
	int igrade,
	int niter,
	int nf
)
Visual Basic (Declaration)
Public Delegate Sub E04GD_LSQMON ( _
	m As Integer, _
	n As Integer, _
	xc As Double(), _
	fvec As Double(), _
	fjac As Double(,), _
	s As Double(), _
	igrade As Integer, _
	niter As Integer, _
	nf As Integer _
)
Visual C++
public delegate void E04GD_LSQMON(
	int m, 
	int n, 
	array<double>^ xc, 
	array<double>^ fvec, 
	array<double,2>^ fjac, 
	array<double>^ s, 
	int igrade, 
	int niter, 
	int nf
)
F#
type E04GD_LSQMON = 
    delegate of 
        m:int * 
        n:int * 
        xc:float[] * 
        fvec:float[] * 
        fjac:float[,] * 
        s:float[] * 
        igrade:int * 
        niter:int * 
        nf:int -> unit

Parameters

m
Type: System..::.Int32
On entry: m, the numbers of residuals.
n
Type: System..::.Int32
On entry: n, the numbers of variables.
xc
Type: array< System..::.Double >[]()[]
On entry: the coordinates of the current point x.
fvec
Type: array< System..::.Double >[]()[]
On entry: the values of the residuals fi at the current point x.
fjac
Type: array< System..::.Double ,2>[,](,)[,]
On entry: fjac[i-1,j-1] contains the value of fi xj  at the current point x, for i=1,2,,m and j=1,2,,n.
s
Type: array< System..::.Double >[]()[]
On entry: the singular values of the current Jacobian matrix. Thus s may be useful as information about the structure of your problem. (If iprint>0, lsqmon is called at the initial point before the singular values have been calculated. So the elements of s are set to zero for the first call of lsqmon.)
igrade
Type: System..::.Int32
On entry: e04gd estimates the dimension of the subspace for which the Jacobian matrix can be used as a valid approximation to the curvature (see Gill and Murray (1978)). This estimate is called the grade of the Jacobian matrix, and igrade gives its current value.
niter
Type: System..::.Int32
On entry: the number of iterations which have been performed in e04gd.
nf
Type: System..::.Int32
On entry: the number of times that lsqfun has been called so far with iflag=2. (In addition to these calls monitored by nf, lsqfun is called not more than n times per iteration with iflag set to 1.)

See Also