Function for calculation of eigenvalue of given matrix.
get_spectra(x, k = 100)
x
The input matrix.
k
Get the first k eigenvalues.
y The vector of the first k eigenvalues.