EPSComputeResidualNorm
Computes the residual norm associated with the i-th converged approximate eigenpair.
Synopsis
#include "slepceps.h"
int EPSComputeResidualNorm(EPS eps, int i, PetscReal *norm)
Collective on EPS
Input Parameter
eps -the eigensolver context
i -the solution index
Output Parameter
norm -the residual norm, computed as ||Ax-kBx|| where k is the
eigenvalue and x is the eigenvector.
If k=0 then the residual norm is computed as ||Ax||.
Notes
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()
Level:beginner
Location:src/eps/interface/itfunc.c
Index of all EPS routines
Table of Contents for all manual pages
Index of all manual pages