This interface overloads the eig interface from stdlib_linalg to
compute the eigenvalues and eigenvectors of a real-valued matrix
whose type is Toeplitz.
call eig(A, lambda [, left] [, right])
A : real-valued matrix of Toeplitz.
It is an intent(in) argument.
lambda : Rank-1 real array returning the eigenvalues of A
in increasing order.
It is an intent(out) argument.
left (optional) : complex rank-2 array of the same kind as A
returning the left eigenvectors of A.
It is an intent(out) argument.
right (optional) : complex rank-2 array of the same kind as A
returning the right eigenvectors of A.
It is an intent(out) argument.
Note
No analytic expression exist for the eigendecomposition of a general
Toeplitz matrix. Under the hood, the matrix A is converted to
its dense representation and the function eig from
stdlib_linalg is used.
Utility function to compute the eigenvalues and eigenvectors of a
Toeplitz matrix.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(Toeplitz), | intent(in) | :: | A |
Input matrix. |
||
| complex(kind=dp), | intent(out) | :: | lambda(:) |
Eigenvalues. |
||
| complex(kind=dp), | intent(out), | optional | :: | left(:,:) |
Eigenvectors. |
|
| complex(kind=dp), | intent(out), | optional | :: | right(:,:) |
Eigenvectors. |