- naginterfaces.library.sparseig.real_symm_init(n, nev, ncv)¶
real_symm_initis a setup function in a suite of functions consisting of
real_symm_monit(). It is used to find some of the eigenvalues (and optionally the corresponding eigenvectors) of a standard or generalized eigenvalue problem defined by real symmetric matrices.
The suite of functions is suitable for the solution of large sparse, standard or generalized, symmetric eigenproblems where only a few eigenvalues from a selected range of the spectrum are required.
For full information please refer to the NAG Library document for f12fa
The order of the matrix (and the order of the matrix for the generalized problem) that defines the eigenvalue problem.
The number of eigenvalues to be computed.
The number of Lanczos basis vectors to use during the computation.
At present there is no a priori analysis to guide the selection of relative to .
However, it is recommended that .
If many problems of the same type are to be solved, you should experiment with increasing while keeping fixed for a given test problem.
This will usually decrease the required number of matrix-vector operations but it also increases the work and storage required to maintain the orthogonal basis vectors.
The optimal ‘cross-over’ with respect to CPU time is problem dependent and must be determined empirically.
- commdict, communication object
- (errno )
On entry, .
- (errno )
On entry, .
- (errno )
On entry, , and .
Constraint: and .
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 symmetric. The suite can also be used to find selected eigenvalues/eigenvectors of smaller scale dense, real and symmetric problems.
real_symm_initis a setup function which must be called before
real_symm_iter(), the reverse communication iterative solver, and before
real_symm_option(), the options setting function.
real_symm_proc(), is a post-processing function that must be called following a successful final exit from
real_symm_monit()can be used to return additional monitoring information during the computation.
This setup function initializes the communication arrays, sets (to their default values) all options that can be set by you via the option setting function
real_symm_option(), and checks that the lengths of the communication arrays as passed by you are of sufficient length. For details of the options available and how to set them see Other Parameters for real_symm_option.
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