You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Also, use the eigh function instead of the generic eig, because you are indeed using a Hermitian/symmetric matrix. As a result--and as you can see from the documentation--the eigenvalues and eigenvectors will already be ordered for you.
NumPy's linear algebra library is subpar. SciPy's uses LAPACK which is well-verified and excellent.
It works the same way. Just import
scipy.linalg
instead.https://github.com/quinngroup/ornet/blob/eigenspectrum/src/analysis/util.py#L51
The text was updated successfully, but these errors were encountered: