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