NEPComputeRelativeError
Computes the relative error bound associated with the i-th computed eigenpair.
Synopsis
#include "slepcnep.h"
PetscErrorCode NEPComputeRelativeError(NEP nep,PetscInt i,PetscReal *error)
Collective on NEP
Input Parameter
| nep | - the nonlinear eigensolver context
|
| i | - the solution index
|
Output Parameter
error - the relative error bound, computed as ||T(lambda)x||_2/||lambda*x||_2
where lambda is the eigenvalue and x is the eigenvector.
If lambda=0 the relative error is computed as ||T(lambda)x||_2/||x||_2.
See Also
NEPSolve(), NEPComputeResidualNorm(), NEPGetErrorEstimate()
Location: src/nep/interface/nepsolve.c
Index of all NEP routines
Table of Contents for all manual pages
Index of all manual pages
Examples
src/nep/examples/tutorials/ex20.c.html
src/nep/examples/tutorials/ex21.c.html
src/nep/examples/tutorials/ex22.c.html