Tutorial#

Below we provide links to tutorial examples intended for learning the basics of slepc4py. For additional information, the reader is referred to:

Commented source of demo examples#

  • To get started, we recommend having a look at the source code of example demo/ex1.py, that has comments inserted inline. It is also available online here. This example solves a standard symmetric eigenvalue problem.

  • Demo examples for other problems, including linear and nonlinear eigenvalue problems and singular value problems, are available in the section slepc4py demos.