Computes the Schur factorization of a general square matrix.
This interface provides methods to compute the Schur factorization of a real
or
complex
square matrix. Note that, if is real
, it returns the
real Schur form.
Result array eigvals
returns the eigenvalues of while Z
contains the Schur basis.
call schur(A, Z, eigvals)
A
: real
or complex
square array containing the coefficient matrix. On exit, it
is overwritten with its (real) Schur factorization. It is an intent(inout)
argument.
Z
: Two-dimensional square array of the same size, type and kind as A
. It contains
the Schur basis. It is an intent(out)
argument.
eigvals
: complex
rank-1 array of the same kind as A
containing the eigenvalues.
It is an intent(out)
arguement.
Compute the Schur form (in-place) and Schur vectors of the matrix A
.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=sp), | intent(inout) | :: | A(:,:) |
Matrix to be factorized. |
||
real(kind=sp), | intent(out) | :: | Z(:,:) |
Schur basis. |
||
complex(kind=sp), | intent(out) | :: | eigvals(:) |
Eigenvalues. |
Compute the Schur form (in-place) and Schur vectors of the matrix A
.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=dp), | intent(inout) | :: | A(:,:) |
Matrix to be factorized. |
||
real(kind=dp), | intent(out) | :: | Z(:,:) |
Schur basis. |
||
complex(kind=dp), | intent(out) | :: | eigvals(:) |
Eigenvalues. |
Compute the Schur form (in-place) and Schur vectors of the matrix A
.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=sp), | intent(inout) | :: | A(:,:) |
Matrix to be factorized. |
||
complex(kind=sp), | intent(out) | :: | Z(:,:) |
Schur basis. |
||
complex(kind=sp), | intent(out) | :: | eigvals(:) |
Eigenvalues. |
Compute the Schur form (in-place) and Schur vectors of the matrix A
.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=dp), | intent(inout) | :: | A(:,:) |
Matrix to be factorized. |
||
complex(kind=dp), | intent(out) | :: | Z(:,:) |
Schur basis. |
||
complex(kind=dp), | intent(out) | :: | eigvals(:) |
Eigenvalues. |