eigvalsh Interface

public interface eigvalsh

This interface overloads the eigvals interface from stdlib_linalg to compute the eigenvalues of a real-valued matrix whose type is Hankel.

Syntax

   lambda = eigvals(A)

Arguments

  • A : real-valued matrix of Hankel type. It is an intent(in) argument.

  • lambda : Vector of eigenvalues in increasing order.

Note

No analytic expression exist for the eigenvalues of a general Hankel matrix. Under the hood, the matrix A is converted to its dense representation and the function eigvals from stdlib_linalg is used.


Functions

private module function eigvalsh_rdp(A) result(lambda)

Utility function to compute the eigenvalues of a real Hankel matrix.

Arguments

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

Input matrix.

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

Eigenvalues.