slepc-main 2024-11-15
Report Typos and Errors

SVDErrorView

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

Synopsis

#include "slepcsvd.h" 
PetscErrorCode SVDErrorView(SVD svd,SVDErrorType etype,PetscViewer viewer)
Collective

Input Parameters

svd  - the singular value solver context
etype  - error type
viewer  - optional visualization context

Options Database Keys

-svd_error_absolute  - print absolute errors of each singular triplet
-svd_error_relative  - print relative errors of each singular triplet
-svd_error_norm  - print errors relative to the matrix norms of each singular triplet

Notes

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

See Also

SVDSolve(), SVDValuesView(), SVDVectorsView()

Level

intermediate

Location

src/svd/interface/svdview.c

Examples

src/svd/tutorials/ex14.c
src/svd/tutorials/ex48.c
src/svd/tutorials/ex51.c
src/svd/tutorials/ex52.c
src/svd/tutorials/ex53.c
src/svd/tutorials/cnetwork/embedgsvd.c


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