Closed guilgautier closed 5 years ago
eig_banded requires hermitian symmetry.
This is neither the case for L.dot(M)
nor 0.5(L.dot(M)+M.dot(L))
.
In https://github.com/guilgautier/DPPy/commit/537b26dd90075c7e7be82d63565a8466ce2395d1 I simply used sparse representations of L
and M
for which:
block_diag
method already exists, that's why I remove the hand-coded onedot
method is more efficient for large sizeHowever for a sparse array it is not possible to compute all its eigenvalues (see k
arg in eigs
) that's why toarray()
is used for now ☹️
Check
eig_banded
for quindiagonal model for beta ensemble with uniform measure on unit circle. Clue0.5(L.dot(M)+M.dot(L))