0

I want to solve a generalized eigenvalue problem for multiprecision in Python ( A.C = (lam).B.C where A and B are 3000x3000 matrices and C is 3000x1 vector. (lam) is the eigenvalue.). So I have installed MPMATH. But I can't find a Python program for a generalized eigenvalue problem. How can I solve a generalized eigenvalue problem for multiprecision in Python?

Stefan Gruenwald
  • 2,582
  • 24
  • 30

2 Answers2

1

Use scipy.linalg.eig, which will solve ordinary or generalized eigenvalue problems.

jme
  • 19,895
  • 6
  • 41
  • 39
1

mpmath version 0.19 includes some functions related to eigenvalues. See http://mpmath.org/doc/0.19/matrices.html#linear-algebra

casevh
  • 11,093
  • 1
  • 24
  • 35