Documentation
API docs
Other
Version
Sorts the eigenvalues and eigenvectors by descending norm of the eigenvalues or lexicographically.
evals ((n, ) ndarray) – eigenvalues
evecs ((k, n) ndarray) – eigenvectors in a column matrix
order (str, default='magnitude') – The order. Sorts by magnitude by default, can also be ‘lexicographic’ in which case it sorts lexicographically.
(evals, evecs) – the sorted eigenvalues and eigenvectors
(n, ) ndarray, (k, n) ndarray