slepc-3.7.3 2016-09-29
Report Typos and Errors

# NEPErrorView

Displays the errors associated with the computed solution (as well as the eigenvalues).

### Synopsis

    #include "slepcnep.h"
    PetscErrorCode NEPErrorView(NEP nep,NEPErrorType etype,PetscViewer viewer)

Collective on NEP

### Input Parameters

| nep | - the nonlinear eigensolver context
| etype | - error type
| viewer | - optional visualization context

### Options Database Key

| -nep_error_absolute | - print absolute errors of each eigenpair
| -nep_error_relative | - print relative errors of each eigenpair
| -nep_error_backward | - print backward errors of each eigenpair

### Notes

By default, this function checks the error of all eigenpairs and prints the eigenvalues if all of them are below the requested tolerance. If the viewer has format=PETSC_VIEWER_ASCII_INFO_DETAIL then a table with eigenvalues and corresponding errors is printed.

### See Also

NEPSolve(), NEPValuesView(), NEPVectorsView()

Location: src/nep/interface/nepview.c
Index of all NEP routines
Table of Contents for all manual pages
Index of all manual pages

### Examples

src/nep/examples/tutorials/ex21.c.html
src/nep/examples/tutorials/ex22.c.html
src/nep/examples/tutorials/ex27.c.html
src/nep/examples/nlevp/loaded_string.c.html
src/nep/examples/nlevp/gun.c.html