Last active
December 24, 2018 07:21
-
-
Save RyotaBannai/c74fd7fa3eeb5e445c7496d4ce05cde4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from numpy import linalg as LA | |
| w, v = LA.eig(C) | |
| idx = w.argsort()[::-1] # In order that bigger Eigenvalue comes first | |
| w, v = w[idx], v[:, idx] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment