EPSGetRightVector

Gets the i-th right eigenvector as computed by EPSSolve().

Synopsis

#include "slepceps.h" 
PetscErrorCode EPSGetRightVector(EPS eps, int i, Vec Vr, Vec Vi)
Not Collective

Input Parameters

eps - eigensolver context
i - index of the solution

Output Parameters

Vr - real part of eigenvector
Vi - imaginary part of eigenvector

Notes

If the corresponding eigenvalue is real, then Vi is set to zero. In the complex case (e.g. with BOPT=O_complex) the eigenvector is stored directly in Vr (Vi is set to zero).

The index i should be a value between 0 and nconv (see EPSGetConverged()). Eigenpairs are indexed according to the ordering criterion established with EPSSetWhichEigenpairs().

See Also

EPSSolve(), EPSGetConverged(), EPSSetWhichEigenpairs(),
EPSGetEigenpair(), EPSGetLeftVector()

Location: src/eps/interface/solve.c
Index of all EPS routines
Table of Contents for all manual pages
Index of all manual pages