slepc-3.22.2 2024-12-02
Report Typos and Errors

# SVDStoppingTestFn

A prototype of an SVD stopping test function that would be passed to SVDSetStoppingTestFunction()

### Synopsis

    PETSC_EXTERN_TYPEDEF typedef PetscErrorCode(SVDStoppingTestFn)(SVD svd,PetscInt its,PetscInt max_it,PetscInt nconv,PetscInt nsv,SVDConvergedReason *reason,void *ctx);

### Calling Sequence

| svd | - singular value solver context obtained from SVDCreate()
| its | - current number of iterations
| max_it | - maximum number of iterations
| nconv | - number of currently converged singular triplets
| nsv | - number of requested singular triplets
| reason | - [output] result of the stopping test
| ctx | - [optional] user-defined context for private data for the stopping test routine (may be NULL)

### See Also

SVDSetStoppingTestFunction()

### Level

advanced

### Location

include/slepcsvd.h
Index of all SVD routines
Table of Contents for all manual pages
Index of all manual pages