Skip to main content

schur_sorted_complex

Function schur_sorted_complex 

Source
pub fn schur_sorted_complex<T: Scalar, S: Data<Elem = T>>(
    a: &ArrayBase<S, Ix2>,
    sort: &EigenSort<'_>,
) -> Result<(Array2<Complex<f64>>, Array2<Complex<f64>>, usize)>
Expand description

The complex Schur form A = Z T Zᴴ with the eigenvalues selected by sort first (SciPy’s schur(a, output='complex', sort=...)), by adjacent swaps of 1 × 1 blocks (LAPACK’s ztrexc). Returns (T, Z, sdim).