eigvalsh Interface

public interface eigvalsh

This interface overloads the eigvalsh interface from stdlib_linalg to compute the eigenvalues of the Poisson2D matrix .

Syntax

   lambda = eigvalsh(A)

Arguments

  • 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.


Functions

private module function eigvalsh_rdp(A) result(lambda)

Arguments

Type IntentOptional Attributes Name
type(Poisson2D), intent(in) :: A

Input matrix.

Return Value real(kind=dp), allocatable, target, (:)

Eigenvalues.