slepc-3.16.1 2021-11-17
Report Typos and Errors

PEPComputeError

Computes the error (based on the residual norm) associated with the i-th computed eigenpair.

Synopsis

#include "slepcpep.h" 
#include "slepcbv.h" 
PetscErrorCode PEPComputeError(PEP pep,PetscInt i,PEPErrorType type,PetscReal *error)
Collective on pep

Input Parameters

pep  - the polynomial eigensolver context
i  - the solution index
type  - the type of error to compute

Output Parameter

error  - the error

Notes

The error can be computed in various ways, all of them based on the residual norm ||P(l)x||_2 where l is the eigenvalue and x is the eigenvector. See the users guide for additional details.

See Also

PEPErrorType, PEPSolve(), PEPGetErrorEstimate()

Location: src/pep/interface/pepsolve.c

Examples

src/pep/tutorials/ex16.c.html

Index of all PEP routines
Table of Contents for all manual pages
Index of all manual pages