slepc-3.7.3 2016-09-29
Report Typos and Errors

# EPSSetDeflationSpace

Specify a basis of vectors that constitute the deflation space.

### Synopsis

    #include "slepceps.h"
    PetscErrorCode EPSSetDeflationSpace(EPS eps,PetscInt n,Vec *v)

Collective on EPS and Vec

### Input Parameter

| eps | - the eigenproblem solver context
| n | - number of vectors
| v | - set of basis vectors of the deflation space

### Notes

When a deflation space is given, the eigensolver seeks the eigensolution in the restriction of the problem to the orthogonal complement of this space. This can be used for instance in the case that an invariant subspace is known beforehand (such as the nullspace of the matrix).

These vectors do not persist from one EPSSolve() call to the other, so the deflation space should be set every time.

The vectors do not need to be mutually orthonormal, since they are explicitly orthonormalized internally.

### See Also

EPSSetInitialSpace()

Location: src/eps/interface/epssetup.c
Index of all EPS routines
Table of Contents for all manual pages
Index of all manual pages

### Examples

src/eps/examples/tutorials/ex7.c.html
src/eps/examples/tutorials/ex11.c.html