svdvals Interface

public interface svdvals

This interface overloads the svdvals interface from stdlib_linalg to compute the singular values of a Tridiagonal matrix .

Syntax

   s = svdvals(A)

Arguments

  • A : Matrix of Tridiagonal type. It is an intent(in) argument.

  • s : Vector of singular values sorted in decreasing order.


Functions

private module function svdvals_rdp(A) result(s)

Compute the singular values of a Tridiagonal matrix.

Arguments

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

Input matrix.

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

Singular values in descending order.