# STSetShift

Sets the shift associated with the spectral transformation.

### Synopsis

    #include "slepcst.h"
    PetscErrorCode STSetShift(ST st,PetscScalar shift)

Logically Collective on ST

### Input Parameters

| st | - the spectral transformation context
| shift | - the value of the shift

### Note

In some spectral transformations, changing the shift may have associated a lot of work, for example recomputing a factorization.

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