# SVDSetTransposeMode

Sets how to handle the transpose of the matrix associated with the singular value problem.

### Synopsis

    #include "slepcsvd.h"
    PetscErrorCode SVDSetTransposeMode(SVD svd,SVDTransposeMode mode)

Logically Collective on SVD

### Input Parameters

| svd | - the singular value solver context
| mode | - how to compute the transpose, one of SVD_TRANSPOSE_EXPLICIT or SVD_TRANSPOSE_IMPLICIT (see notes below)

### Options Database Key

-svd_transpose_mode <mode> - Indicates the mode flag, where <mode> is one of 'explicit' or 'implicit'.

### Notes

In the SVD_TRANSPOSE_EXPLICIT mode, the transpose of the matrix is explicitly built.

The option SVD_TRANSPOSE_IMPLICIT does not build the transpose, but handles it implicitly via MatMultTranspose() (or MatMultHermitianTranspose() in the complex case) operations. This is likely to be more inefficient than SVD_TRANSPOSE_EXPLICIT, both in sequential and in parallel, but requires less storage.

The default is SVD_TRANSPOSE_EXPLICIT if the matrix has defined the MatTranspose operation, and SVD_TRANSPOSE_IMPLICIT otherwise.

### See Also

SVDGetTransposeMode(), SVDSolve(), SVDSetOperator(),
SVDGetOperator(), SVDTransposeMode

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