slepc-3.5.2 2014-10-10
Report Typos and Errors

PEPComputeResidualNorm

Computes the norm of the residual vector associated with the i-th computed eigenpair.

Synopsis

#include "slepcpep.h" 
PetscErrorCode PEPComputeResidualNorm(PEP pep,PetscInt i,PetscReal *norm)
Collective on PEP

Input Parameter

pep - the polynomial eigensolver context
i - the solution index

Output Parameter

norm - the residual norm, computed as ||P(l)x||_2 where l is the eigenvalue and x is the eigenvector.

Notes

The index i should be a value between 0 and nconv-1 (see PEPGetConverged()). Eigenpairs are indexed according to the ordering criterion established with PEPSetWhichEigenpairs().

See Also

PEPSolve(), PEPGetConverged(), PEPSetWhichEigenpairs()

Location: src/pep/interface/pepsolve.c
Index of all PEP routines
Table of Contents for all manual pages
Index of all manual pages