Given a matrix pencil (A,B) where A and B are NxN, how can I obtain the dominant generalized eigenvector in Python. I have seen this method scipy.sparse.linalg.eigsh() in one of the answers but I think it can only work when given a matrix A but not for a matrix pencil?
Asked
Active
Viewed 122 times