Function rgsl::eigen::genv_sort

source ·
pub fn genv_sort(
    alpha: &mut VectorComplexF64,
    beta: &mut VectorF64,
    evec: &mut MatrixComplexF64,
    sort_type: EigenSort
) -> Value
Expand description

This function simultaneously sorts the eigenvalues stored in the vectors (alpha, beta) and the corresponding complex eigenvectors stored in the columns of the matrix evec into ascending or descending order according to the value of the parameter sort_type. Only EigenSort::AbsAsc and EigenSort::AbsDesc are supported due to the eigenvalues being complex.