EPSComputeRelativeError

Computes the relative error bound associated with the i-th computed eigenpair.

Synopsis

#include "slepceps.h" 
PetscErrorCode EPSComputeRelativeError(EPS eps,PetscInt i,PetscReal *error)
Collective on EPS

Input Parameter

eps - the eigensolver context
i - the solution index

Output Parameter

error - the relative error bound, computed as ||Ax-kBx||_2/||kx||_2 where k is the eigenvalue and x is the eigenvector. If k=0 the relative error is computed as ||Ax||_2/||x||_2.

See Also

EPSSolve(), EPSComputeResidualNorm(), EPSGetErrorEstimate()

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

Examples

src/eps/examples/tutorials/ex1.c.html
src/eps/examples/tutorials/ex12.c.html
src/eps/examples/tutorials/ex19.c.html
src/eps/examples/tutorials/ex1f.F.html