EPSComputeRelativeError

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

Synopsis

#include "slepceps.h" 
PetscErrorCode 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 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