naginterfaces.library.sparseig.real_​monit

naginterfaces.library.sparseig.real_monit(comm)[source]

real_monit can be used to return additional monitoring information during computation. It is in a suite of functions consisting of real_init(), real_iter(), real_proc(), real_option() and real_monit.

For full information please refer to the NAG Library document for f12ae

https://www.nag.com/numeric/nl/nagdoc_28.7/flhtml/f12/f12aef.html

Parameters
commdict, communication object

Communication structure.

This argument must have been initialized by a prior call to real_init().

Returns
niterint

The number of the current Arnoldi iteration.

nconvint

The number of converged eigenvalues so far.

ritzrfloat, ndarray, shape

The first locations of the array contain the real parts of the converged approximate eigenvalues.

ritzifloat, ndarray, shape

The first locations of the array contain the imaginary parts of the converged approximate eigenvalues.

rzestfloat, ndarray, shape

The first locations of the array contain the Ritz estimates (error bounds) on the converged approximate eigenvalues.

Notes

The suite of functions is designed to calculate some of the eigenvalues, , (and optionally the corresponding eigenvectors, ) of a standard eigenvalue problem , or of a generalized eigenvalue problem of order , where is large and the coefficient matrices and are sparse, real and nonsymmetric. The suite can also be used to find selected eigenvalues/eigenvectors of smaller scale dense, real and nonsymmetric problems.

On an intermediate exit from real_iter() with , real_monit may be called to return monitoring information on the progress of the Arnoldi iterative process. The information returned by real_monit is:

  • the number of the current Arnoldi iteration;

  • the number of converged eigenvalues at this point;

  • the real and imaginary parts of the converged eigenvalues;

  • the error bounds on the converged eigenvalues.

real_monit does not have an equivalent function from the ARPACK package which prints various levels of detail of monitoring information through an output channel controlled via an argument value (see Lehoucq et al. (1998) for details of ARPACK routines). real_monit should not be called at any time other than immediately following an return from real_iter().

References

Lehoucq, R B, 2001, Implicitly restarted Arnoldi methods and subspace iteration, SIAM Journal on Matrix Analysis and Applications (23), 551–562

Lehoucq, R B and Scott, J A, 1996, An evaluation of software for computing eigenvalues of sparse nonsymmetric matrices, Preprint MCS-P547-1195, Argonne National Laboratory

Lehoucq, R B and Sorensen, D C, 1996, Deflation techniques for an implicitly restarted Arnoldi iteration, SIAM Journal on Matrix Analysis and Applications (17), 789–821

Lehoucq, R B, Sorensen, D C and Yang, C, 1998, ARPACK Users’ Guide: Solution of Large-scale Eigenvalue Problems with Implicitly Restarted Arnoldi Methods, SIAM, Philadelphia