eigvals Interface

public interface eigvals

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

Syntax

   lambda = eigvals(A)

Arguments

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

  • lambda : Vector of eigenvalues in increasing order.


Functions

private module function eigvals_rdp(A) result(lambda)

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

Arguments

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

Input matrix.

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

Eigenvalues.