EPSComputeRelativeError
Computes the actual relative error associated with the i-th converged approximate eigenpair.
Synopsis
#include "slepceps.h"
int EPSComputeRelativeError(EPS eps, int i, PetscReal *error)
Collective on EPS
Input Parameter
eps -the eigensolver context
i -the solution index
Output Parameter
error -the relative error, computed as ||Ax-kBx||/||kx|| where k is the
eigenvalue and x is the eigenvector.
If k=0 the relative error is computed as ||Ax||/||x||.
See Also
EPSSolve(), EPSComputeResidualNorm()
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
Examples
src/examples/ex1.c.html
src/examples/ex2.c.html
src/examples/ex3.c.html
src/examples/ex4.c.html
src/examples/ex5.c.html
src/examples/ex7.c.html
src/examples/ex9.c.html
src/examples/ex10.c.html
src/examples/ex1f.F.html
src/examples/ex6f.F.html