generalized_schur() is eigencore's dense QZ surface for general matrix
pencils A x = lambda B x. It computes the generalized Schur pair S, T
and, when requested, left/right Schur vectors Q, Z such that
A = Q S Z* and B = Q T Z* for complex inputs, with transpose replacing
conjugate-transpose for real inputs. Sparse and operator inputs are not
silently densified.
Arguments
- A
Base dense square matrix.
- B
Base dense square matrix with the same dimension as
A.- sort
Optional LAPACK sorting class. Use
NULLor"none"for no sorting,"finite"to move finite generalized eigenvalues first,"infinite"to move beta-zero nonzero-alpha eigenvalues first. Custom predicates and undefined alpha-zero/beta-zero sorting are not part of the public contract.- vectors
Whether to compute Schur vectors
QandZ.- ...
Reserved for future options.