SLEPc for Python#
- Authors:
Lisandro Dalcin, Jose E. Roman
- Contact:
- Web Site:
- Date:
Nov 19, 2025
Discussion and Support#
You can write to the PETSc Users Mailing List
See also the contact information for SLEPc
Issue Tracker: slepc/slepc/issues
Git Repository: slepc/slepc.git (the source code is in
src/binding/slepc4py)Current release in PyPI: https://pypi.org/project/slepc4py/
Acknowledgments#
L. Dalcin was partially supported by the Extreme Computing Research Center (ECRC), Division of Computer, Electrical, and Mathematical Sciences & Engineering (CEMSE), King Abdullah University of Science and Technology (KAUST).
See additional acknowledgements related to the SLEPc project.
Contents#
Python specifics
- Reference
- slepc4py demos
- ex1.py: Standard symmetric eigenproblem for the 1-D Laplacian
- ex2.py: Standard symmetric eigenproblem for the 2-D Laplacian
- ex3.py: Matrix-free eigenproblem for the 2-D Laplacian
- ex4.py: Singular value decomposition of the Lauchli matrix
- ex5.py: Simple quadratic eigenvalue problem
- ex6.py: Compute exp(t*A)*v for a matrix from a Markov model
- ex7.py: Nonlinear eigenproblem with callback functions
- ex8.py: Nonlinear eigenproblem with split form
- ex9.py: Generalized symmetric-definite eigenproblem
- ex10.py: Laplace problem using the Proper Orthogonal Decomposition
- ex11.py: 2-D Laplacian eigenproblem solved with contour integral
- ex12.py: Illustrate the use of arbitrary selection
- ex13.py: Nonlinear eigenproblem with contour integral
- ex14.py: Lyapunov equation with the shifted 2-D Laplacian