slepc-3.18.1 2022-11-02
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 on svd

### 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.html
src/svd/tutorials/ex14.c.html
src/svd/tutorials/ex15.c.html
src/svd/tutorials/ex15f.F.html
src/svd/tutorials/ex45.c.html
src/svd/tutorials/ex48.c.html
src/svd/tutorials/ex51.c.html
src/svd/tutorials/ex52.c.html
Index of all SVD routines
Table of Contents for all manual pages
Index of all manual pages