简体   繁体   中英

How to find the eigenvalues in Python with a matrix different to the identity matrix

I am trying to find the eigenvalues of a characteristic equation in Python, the problem is that in the equation |A-lambda I|=0, the matrix that multiplies lambda isn't the identity matrix, but I have to make clear that this matrix different to the identity matrix is a diagonal matrix.

The problem you're facing is known as the generalized eigenvalue problem. An example solution with numpy is given in this question.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM