pub fn schur_sorted<S: Data<Elem = f64>>(
a: &ArrayBase<S, Ix2>,
sort: &EigenSort<'_>,
) -> Result<(Array2<f64>, Array2<f64>, usize)>Expand description
The real Schur form A = Z T Zᵀ with the eigenvalues selected by sort in the leading
sdim positions (SciPy’s schur(a, output='real', sort=...)). A complex pair is selected
when either member is. The selected blocks are moved up one adjacent swap at a time
(LAPACK’s dtrsen/dtrexc). Returns (T, Z, sdim).