slepc-3.7.3 2016-09-29
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
Index of all EPS routines
Table of Contents for all manual pages
Index of all manual pages

### Examples

src/eps/examples/tutorials/ex13.c.html
src/eps/examples/tutorials/ex30.c.html