This interface overloads the eigvals
interface from
stdlib_linalg
to compute the eigenvalues of a real-valued matrix
whose type is Tridiagonal
.
lambda = eigvals(A)
A
: real
-valued matrix of Tridiagonal
type.
It is an intent(in)
argument.
lambda
: Vector of eigenvalues in increasing order.
Utility function to compute the eigenvalues of a real
Tridiagonal
matrix.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(Tridiagonal), | intent(in) | :: | A |
Input matrix. |
Eigenvalues.