Compute Schur decomposition of a matrix.
The Schur decomposition is:
A = Z T Z^H
where Z is unitary and T is either upper-triangular, or for real Schur decomposition (output=’real’), quasi-upper triangular. In the quasi-triangular form, 2x2 blocks describing complex-valued eigenvalue pairs may extrude from the diagonal.
Parameters : | a : ndarray, shape (M, M)
output : {‘real’, ‘complex’}, optional
lwork : int, optional
overwrite_a : bool, optional
sort : {None, callable, ‘lhp’, ‘rhp’, ‘iuc’, ‘ouc’}, optional
|
---|---|
Returns : | T : ndarray, shape (M, M)
Z : ndarray, shape (M, M)
sdim : int
|
Raises : | LinAlgError :
|
See also