# QEPSetDS

Associates a direct solver object to the quadratic eigensolver.

### Synopsis

    #include "slepcqep.h"
    PetscErrorCode QEPSetDS(QEP qep,DS ds)

Collective on QEP

### Input Parameters

| qep | - eigensolver context obtained from QEPCreate()
| ds | - the direct solver object

### Note

Use QEPGetDS() to retrieve the direct solver context (for example, to free it at the end of the computations).

### See Also

QEPGetDS()

Location: src/qep/interface/qepbasic.c
Index of all QEP routines
Table of Contents for all manual pages
Index of all manual pages