svdvals Interface

public interface svdvals

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

Syntax

   s = svdvals(A)

Arguments

  • A : Matrix of Bidiagonal 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 Bidiagonal matrix.

Arguments

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

Input matrix.

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

Singular values in descending order.