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 on