#include "slepcpep.h" PetscErrorCode PEPGetEigenpair(PEP pep,PetscInt i,PetscScalar *eigr,PetscScalar *eigi,Vec Vr,Vec Vi)Logically Collective on EPS
pep | - polynomial eigensolver context | |
i | - index of the solution |
eigr | - real part of eigenvalue | |
eigi | - imaginary part of eigenvalue | |
Vr | - real part of eigenvector | |
Vi | - imaginary part of eigenvector |
If the eigenvalue is real, then eigi and Vi are set to zero. If PETSc is configured with complex scalars the eigenvalue is stored directly in eigr (eigi is set to zero) and the eigenvector in Vr (Vi is set to zero). In both cases, the user can pass NULL in eigi and Vi.
The index i should be a value between 0 and nconv-1 (see PEPGetConverged()). Eigenpairs are indexed according to the ordering criterion established with PEPSetWhichEigenpairs().
Location: src/pep/interface/pepsolve.c
Index of all PEP routines
Table of Contents for all manual pages
Index of all manual pages