slepc-3.20.1 2023-11-27
Report Typos and Errors

# SVDSetOperators

Set the matrices associated with the singular value problem.

### Synopsis

    #include "slepcsvd.h"
    PetscErrorCode SVDSetOperators(SVD svd,Mat A,Mat B)

Collective

### Input Parameters

| svd | - the singular value solver context
| A | - the matrix associated with the singular value problem
| B | - the second matrix in the case of GSVD

### See Also

SVDSolve(), SVDGetOperators()

### Level

beginner

### Location

src/svd/interface/svdsetup.c

### Examples

src/svd/tutorials/ex8.c
src/svd/tutorials/ex14.c
src/svd/tutorials/ex15.c
src/svd/tutorials/ex15f.F
src/svd/tutorials/ex45.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