EPSSetOperators

Sets the matrices associated with the eigenvalue problem.

Synopsis

#include "slepceps.h" 
PetscErrorCode EPSSetOperators(EPS eps,Mat A,Mat B)
Collective on EPS and Mat

Input Parameters

eps - the eigenproblem solver context
A - the matrix associated with the eigensystem
B - the second matrix in the case of generalized eigenproblems

Notes

To specify a standard eigenproblem, use PETSC_NULL for parameter B.

See Also

EPSSolve(), EPSGetST(), STGetOperators()

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

Examples

src/examples/ex1.c.html
src/examples/ex2.c.html
src/examples/ex3.c.html
src/examples/ex4.c.html
src/examples/ex5.c.html
src/examples/ex7.c.html
src/examples/ex8.c.html
src/examples/ex9.c.html
src/examples/ex10.c.html
src/examples/ex11.c.html
src/examples/ex1f.F.html