f11gtf is the third in a suite of three routines for the iterative solution of a complex Hermitian system of simultaneous linear equations (see Golub and Van Loan (1996)). f11gtf returns information about the computations during an iteration and/or after this has been completed. The first routine of the suite, f11grf, is a setup routine, the second routine, f11gsf is the proper iterative solver.
These three routines are suitable for the solution of large sparse complex Hermitian systems of equations.
The routine may be called by the names f11gtf or nagf_sparse_complex_herm_basic_diag.
f11gtf returns information about the solution process. It can be called both during a monitoring step of the solver f11gsf or after this solver has completed its tasks. Calling f11gtf at any other time will result in an error condition being raised.
For further information you should read the documentation for f11grfandf11gsf.
Golub G H and Van Loan C F (1996) Matrix Computations (3rd Edition) Johns Hopkins University Press, Baltimore
1: – IntegerOutput
On exit: the number of iterations carried out by f11gsf.
2: – Real (Kind=nag_wp)Output
On exit: the current value of the left-hand side of the termination criterion used by f11gsf.
3: – Real (Kind=nag_wp)Output
On exit: the current value of the right-hand side of the termination criterion used by f11gsf.
4: – Real (Kind=nag_wp)Output
On exit: the norm when either it has been supplied to f11grf or it has been estimated by f11gsf (see also Sections 3 and 5 in f11grf). Otherwise, is returned.
5: – Real (Kind=nag_wp)Output
On exit: the current estimate of the largest singular value of the preconditioned iteration matrix , when either it has been supplied to f11grf or it has been estimated by f11gsf (see also Sections 3 and 5 in f11grf). Note that if then sigmax contains the final estimate. If, on final exit from f11gsf, , the estimation of may have not converged: in this case you should look at the value returned in sigerr. Otherwise, is returned.
6: – IntegerOutput
On exit: the number of iterations employed so far in the computation of the estimate of , the largest singular value of the preconditioned matrix , when has been estimated by f11gsf using the bisection method (see also Sections 3, 5 and 9 in f11grf). Otherwise, is returned.
7: – Real (Kind=nag_wp)Output
On exit: if has been estimated by f11gsf using bisection,
where denotes the iteration number. The estimation has converged if where sigtol is an input argument to f11grf. Otherwise, is returned.
On entry: the dimension of the array work as declared in the (sub)program from which f11gtf is called (see also Section 5 in f11grf).
Note: although the minimum value of lwork ensures the correct functioning of f11gtf, a larger value is required by the iterative solver f11gsf (see also Section 5 in f11grf).
10: – IntegerInput/Output
On entry: ifail must be set to , or to set behaviour on detection of an error; these values have no effect when no error is detected.
A value of causes the printing of an error message and program execution will be halted; otherwise program execution continues. A value of means that an error message is printed while a value of means that it is not.
If halting is not appropriate, the value or is recommended. If message printing is undesirable, then the value is recommended. Otherwise, the value is recommended. When the value or is used it is essential to test the value of ifail on exit.
On exit: unless the routine detects an error or a warning has been flagged (see Section 6).
6Error Indicators and Warnings
If on entry or , explanatory error messages are output on the current error message unit (as defined by x04aaf).
Errors or warnings detected by the routine:
f11gtf has been called out of sequence.
On entry, . Constraint: .
An unexpected error has been triggered by this routine. Please
See Section 7 in the Introduction to the NAG Library FL Interface for further information.
Your licence key may have expired or may not have been installed correctly.
See Section 8 in the Introduction to the NAG Library FL Interface for further information.
Dynamic memory allocation failed.
See Section 9 in the Introduction to the NAG Library FL Interface for further information.
8Parallelism and Performance
Background information to multithreading can be found in the Multithreading documentation.