eigvalsh Interface

public interface eigvalsh

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

Syntax

   lambda = eigvalsh(A)

Arguments

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

  • lambda : Vector of eigenvalues in increasing order.


Functions

private module function eigvalsh_rdp(A) result(lambda)

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

Arguments

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

Input matrix.

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

Eigenvalues.