# 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

### Notes

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

### See Also

EPSGetTarget(), EPSSetWhichEigenpairs()

Location: src/eps/interface/basic.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