Real Schur decomposition of a square matrix. Equivalent to R's Matrix::Schur(x).
Returns an orthogonal Q and an upper quasi-triangular T with x = Q T Q'. T has 1 x 1 diagonal blocks for
real eigenvalues and standardised 2 x 2 blocks [[a, b], [c, a]] (b c < 0) for complex conjugate pairs
a ± sqrt(-b c) i. The decomposition is not unique: the order of the diagonal blocks and the signs of Q's
columns may differ from R's (both are correct). Throws on NaN or infinite values.
Real Schur decomposition of a square matrix. Equivalent to R's
Matrix::Schur(x).Returns an orthogonal
Qand an upper quasi-triangularTwithx = Q T Q'.Thas 1 x 1 diagonal blocks for real eigenvalues and standardised 2 x 2 blocks[[a, b], [c, a]](b c < 0) for complex conjugate pairsa ± sqrt(-b c) i. The decomposition is not unique: the order of the diagonal blocks and the signs ofQ's columns may differ from R's (both are correct). Throws onNaNor infinite values.