Skip to main content

reorder

Function reorder 

Source
pub fn reorder(t: &mut Mat<c64>, q: &mut Mat<c64>, keys: &mut [usize])
Expand description

Stable reordering of the Schur form (t, q) by increasing keys, by adjacent swaps on the whole matrix. Cheap when few eigenvalues move; partition is the fast way to move many.