STFilterSetRange — SLEPc 3.25.0 documentation

Skip to main content
`Ctrl`+`K`

# STFilterSetRange

Defines the numerical range (or field of values) of the matrix, that is, the interval containing all eigenvalues.

## Synopsis

    #include "slepcst.h"
    PetscErrorCode STFilterSetRange(ST st,PetscReal left,PetscReal right)

Logically Collective

## Input Parameters

- st - the spectral transformation context

- left - left end of the spectral range

- right - right end of the spectral range

## Options Database Key

- -st_filter_range lmin,lmax - set \([\lambda_\mathrm{min},\lambda_\mathrm{max}]\) as the numerical range

## Notes

The filter will be most effective if the numerical range is tight, that is, `left` and `right` are good approximations to the leftmost and rightmost eigenvalues, respectively.

## See Also

ST: Spectral Transformation, `STFILTER`, `STFilterGetRange()`, `STFilterSetInterval()`

## Level

intermediate

## Location

src/sys/classes/st/impls/filter/filter.c

## Implementations

STFilterSetRange_Filter() in src/sys/classes/st/impls/filter/filter.c

Index of all ST routines Table of Contents for all manual pages Index of all manual pages