slepc-3.15.2 2021-09-20
Report Typos and Errors

# EPSSetTarget

Sets the value of the target.

### Synopsis

    #include "slepceps.h"
    PetscErrorCode EPSSetTarget(EPS eps,PetscScalar target)

Logically Collective on eps

### Input Parameters

| eps | - eigensolver context
| target | - the value of the target

### Options Database Key

| -eps_target <scalar> | - the value of the target

### Notes

The target is a scalar value used to determine the portion of the spectrum of interest. It is used in combination with EPSSetWhichEigenpairs().

In the case of complex scalars, a complex value can be provided in the command line with [+/-][realnumber][+/-]realnumberi with no spaces, e.g. -eps_target 1.0+2.0i

### See Also

EPSGetTarget(), EPSSetWhichEigenpairs()

Location: src/eps/interface/epsbasic.c

### Examples

src/eps/tutorials/ex30.c.html
src/eps/tutorials/ex35.c.html
src/eps/tutorials/ex43.c.html
src/eps/tutorials/ex46.c.html
Index of all EPS routines
Table of Contents for all manual pages
Index of all manual pages