slepc-3.17.1 2022-04-11
Report Typos and Errors


Sets the shift associated with the spectral transformation.


#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


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

This function is normally not directly called by users, since the shift is indirectly set by EPSSetTarget().

See Also

EPSSetTarget(), STGetShift(), STSetDefaultShift()

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