This interface overloads the eigvalsh
interface from stdlib_linalg
to compute the eigenvalues of a Strang
matrix. Note that these
eigenvalues are known analytically.
lambda = eigvalsh(A)
A
: Matrix of type Strang
. 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.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(Strang), | intent(in) | :: | A |
Input matrix. |
Eigenvalues.