slepc-3.6.1 2015-09-03
Report Typos and Errors

# STSetType

Builds ST for a particular spectral transformation.

### Synopsis

    #include "slepcst.h"
    PetscErrorCode STSetType(ST st,STType type)

Logically Collective on ST

### Input Parameter

| st | - the spectral transformation context.
| type | - a known type

### Options Database Key

-st_type <type> - Sets ST type

Use -help for a list of available transformations

### Notes

See "slepc/include/slepcst.h" for available transformations

Normally, it is best to use the EPSSetFromOptions() command and then set the ST type from the options database rather than by using this routine. Using the options database provides the user with maximum flexibility in evaluating the many different transformations.

### See Also

EPSSetType()

Location: src/sys/classes/st/interface/stset.c
Index of all ST routines
Table of Contents for all manual pages
Index of all manual pages

### Examples

src/eps/examples/tutorials/ex12.c.html
src/eps/examples/tutorials/ex13.c.html
src/eps/examples/tutorials/ex24.c.html
src/eps/examples/tutorials/ex25.c.html