slepc-3.6.1 2015-09-03
Report Typos and Errors

Eigenvalue Problem Solver - EPS: Examples

The Eigenvalue Problem Solver (EPS) is the object provided by SLEPc for specifying a linear eigenvalue problem, either in standard or generalized form. It provides uniform and efficient access to all of the linear eigensolvers included in the package.

EPS users can set various options at runtime via the options database (e.g., -eps_nev 4 -eps_type arnoldi). Options can also be set directly in application codes by calling the corresponding routines (e.g., EPSSetDimensions() / EPSSetType()).

test1.c: Tests B-orthonormality of eigenvectors in a GHEP problem
test2.c: Tests multiple calls to EPSSolve with the same matrix
test3.c: Tests multiple calls to EPSSolve with different matrix
test4.c: Test the solution of a HEP without calling EPSSetFromOptions (based on ex1
test5.c: Test EPS with different builds with a matrix loaded from a file
test6.c: Diagonal eigenproblem
test8.c: Solves the same eigenproblem as in example ex2, but using a shell matrix
test9.c: Eigenvalue problem associated with a Markov model of a random walk on a triangular grid
test10.c: Computes the smallest nonzero eigenvalue of the Laplacian of a graph
test11.c: Solves the same problem as in ex5, but with a user-defined sorting criterion
test12.c: Diagonal eigenproblem
test13.c: Test EPSSetArbitrarySelection
test14.c: Test EPS interface functions
test16.c: Tests a user-defined convergence test
makefile