Python generalisiertes Eigenwertproblem
from scipy.linalg import eigh
eigvals, eigvecs = eigh(A, B)
Ashamed Armadillo
from scipy.linalg import eigh
eigvals, eigvecs = eigh(A, B)