On entry: the dimension of the arrays
SIGMA and
RESID and the second dimension of the arrays
U and
V as declared in the (sub)program from which F02WGF is called.
This is the number of Lanczos basis vectors to use during the computation of the largest eigenvalues of
(
) or
(
).
At present there is no
a priori analysis to guide the selection of
NCV relative to
K. However, it is recommended that
. If many problems of the same type are to be solved, you should experiment with varying
NCV while keeping
K fixed for a given test problem. This will usually decrease the required number of matrix-vector operations but it also increases the internal 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.