12#ifndef TLAPACK_SCHUR_MOVE_HH
13#define TLAPACK_SCHUR_MOVE_HH
46template <TLAPACK_MATRIX matrix_t>
57 const idx_t n = ncols(
A);
int schur_swap(bool want_q, matrix_t &A, matrix_t &Q, const size_type< matrix_t > &j0, const size_type< matrix_t > &n1, const size_type< matrix_t > &n2)
schur_swap, swaps 2 eigenvalues of A.
Definition schur_swap.hpp:49
int schur_move(bool want_q, matrix_t &A, matrix_t &Q, size_type< matrix_t > &ifst, size_type< matrix_t > &ilst)
schur_move reorders the Schur factorization of a matrix S = Q*A*Q**H, so that the diagonal element of...
Definition schur_move.hpp:47
Sort the numbers in D in increasing order (if ID = 'I') or in decreasing order (if ID = 'D' ).
Definition arrayTraits.hpp:15
typename traits::real_type_traits< Types..., int >::type real_type
The common real type of the list of types.
Definition scalar_type_traits.hpp:113