Skip to content

qz

builtin · libnexusinterp/corefcn/qz-proprietary.cc

: AA = qz (A, B)
: [AA, BB, Q, Z, V, W] = qz (A, B, opt)

Generalized Schur (QZ) factorization of the matrix pair A, B.

AA and BB are upper triangular and Q, Z unitary with Q*A*Z = AA and Q*B*Z = BB; the generalized eigenvalues are diag (AA) ./ diag (BB). V and W are the right and left generalized eigenvectors.

opt is "complex" (default; complex triangular factors even for real input) or "real" (real input only; AA is then quasi-triangular with 2-by-2 blocks for complex conjugate pairs).