https://123dok.net/document/qo5jp19j-computing-spectra-without-solving-eigenvalue-problems.html