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

# SVDSetTolerances

Sets the tolerance and maximum iteration count used by the default SVD convergence testers.

### Synopsis

    #include "slepcsvd.h"
    PetscErrorCode SVDSetTolerances(SVD svd,PetscReal tol,PetscInt maxits)

Logically Collective on SVD

### Input Parameters

| svd | - the singular value solver context
| tol | - the convergence tolerance
| maxits | - maximum number of iterations to use

### Options Database Keys

| -svd_tol <tol> | - Sets the convergence tolerance
| -svd_max_it <maxits> | - Sets the maximum number of iterations allowed (use PETSC_DECIDE to compute an educated guess based on basis and matrix sizes)

### Note

Use PETSC_DEFAULT for either argument to assign a reasonably good value.

### See Also

SVDGetTolerances()

Location: src/svd/interface/svdopts.c
Index of all SVD routines
Table of Contents for all manual pages
Index of all manual pages