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

# SVDSetWhichSingularTriplets

Specifies which singular triplets are to be sought.

### Synopsis

    #include "slepcsvd.h"
    PetscErrorCode SVDSetWhichSingularTriplets(SVD svd,SVDWhich which)

Logically Collective on SVD

### Input Parameter

| svd | - singular value solver context obtained from SVDCreate()

### Output Parameter

| which | - which singular triplets are to be sought

### Possible values

The parameter 'which' can have one of these values

| SVD_LARGEST | - largest singular values
| SVD_SMALLEST | - smallest singular values

### Options Database Keys

| -svd_largest | - Sets largest singular values
| -svd_smallest | - Sets smallest singular values

### See Also

SVDGetWhichSingularTriplets(), SVDWhich

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

### Examples

src/svd/examples/tutorials/ex8.c.html