slepc-3.6.3 2016-03-29
Report Typos and Errors

# SVDGetDimensions

Gets the number of singular values to compute and the dimension of the subspace.

### Synopsis

    #include "slepcsvd.h"
    PetscErrorCode SVDGetDimensions(SVD svd,PetscInt *nsv,PetscInt *ncv,PetscInt *mpd)

Not Collective

### Input Parameter

svd - the singular value context

### Output Parameters

| nsv | - number of singular values to compute
| ncv | - the maximum dimension of the subspace to be used by the solver
| mpd | - the maximum dimension allowed for the projected problem

### Notes

The user can specify NULL for any parameter that is not needed.

### See Also

SVDSetDimensions()

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