# QEPSolve

Solves the quadratic eigensystem.

### Synopsis

    #include "slepcqep.h"
    PetscErrorCode QEPSolve(QEP qep)

Collective on QEP

### Input Parameter

qep - eigensolver context obtained from QEPCreate()

### Options Database Keys

| -qep_view | - print information about the solver used
| -qep_view_mat0 binary | - save the first matrix (M) to the default binary viewer
| -qep_view_mat1 binary | - save the second matrix (C) to the default binary viewer
| -qep_view_mat2 binary | - save the third matrix (K) to the default binary viewer
| -qep_plot_eigs | - plot computed eigenvalues

### See Also

QEPCreate(), QEPSetUp(), QEPDestroy(), QEPSetTolerances()

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

### Examples

src/qep/examples/tutorials/ex16.c.html
src/qep/examples/tutorials/ex17.c.html
src/qep/examples/tutorials/ex16f90.F90.html