slepc-3.18.0 2022-10-01
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 Parameters

| 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()

### Level

beginner

### Location

src/sys/classes/st/interface/stset.c

### Examples

src/eps/tutorials/ex12.c.html
src/eps/tutorials/ex24.c.html
src/eps/tutorials/ex25.c.html
src/eps/tutorials/ex35.c.html
src/eps/tutorials/ex36.c.html
src/eps/tutorials/ex43.c.html
src/eps/tutorials/ex46.c.html
src/eps/tutorials/ex49.c.html
src/pep/tutorials/ex38.c.html
src/pep/tutorials/ex50.c.html
Index of all ST routines
Table of Contents for all manual pages
Index of all manual pages