The normalized (unit “length”) eigenvectors,
(g)
| 69 | |
| 70 | |
| 71 | def eigen_decompositon(g): |
| 72 | "The normalized (unit “length”) eigenvectors, " |
| 73 | "such that the column v[:,i] is the eigenvector corresponding to the eigenvalue w[i]." |
| 74 | g = normalize_graph(g) |
| 75 | e, u = eigh(g) |
| 76 | return e, u |
| 77 | |
| 78 | def eigen_decompositon2(g): |
| 79 | "The normalized (unit “length”) eigenvectors, " |
no test coverage detected