This interface overloads the eigvalsh
interface from stdlib_linalg
to compute the eigenvalues of the Poisson2D
matrix .
lambda = eigvalsh(A)
A
: Matrix of Poisson2D
type. It is an intent(in)
argument.
lambda
: Rank-1 real
array returning the eigenvalues of A
in increasing order.
Note
The eigenvalues of the Poisson2D
matrix are known analytically
and can thus be computed efficiently.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(Poisson2D), | intent(in) | :: | A |
Input matrix. |
Eigenvalues.