Yılmaz Eser
Yılmaz Eser

Reputation: 1

How to solve a generalized eigenvalue Problem for multiprecision in Python

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?

Upvotes: 0

Views: 1129

Answers (2)

casevh
casevh

Reputation: 11424

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

Upvotes: 1

jme
jme

Reputation: 20755

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

Upvotes: 1

Related Questions