Skip to main content

partition

Function partition 

Source
pub fn partition(t: &mut Mat<c64>, q: &mut Mat<c64>, select: &[bool]) -> usize
Expand description

Moves the selected eigenvalues of the Schur form (t, q) to the leading positions, keeping the order among the selected and among the others (as LAPACK ztrsen). Returns their number.

Batches of up to BATCH eigenvalues move up together through windows of WINDOW positions; the rotations of a window are applied to the rest of t and to q as matrix products.