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

Syntax

   lambda = eigvals(A)

Arguments

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

  • lambda : Vector of eigenvalues in increasing order.

Note

Eigenvalues of a circulant matrix can be efficiently computed using the Fast Fourier Transform of the generating vector c.


Functions

private module function eigvals_rdp(A) result(lambda)

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

Arguments

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

Input matrix.

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

Eigenvalues.