This interface overloads the svdvals
interface from
stdlib_linalg
to compute the singular values of a Diagonal
matrix .
s = svdvals(A)
A
: Matrix of Diagonal
type.
It is an intent(in)
argument.
s
: Vector of singular values sorted in decreasing order.
Compute the singular values of a Diagonal
matrix.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(Diagonal), | intent(in) | :: | A |
Input matrix. |
Singular values in descending order.