This interface overloads the trace interface from stdlib_linalg
to compute the trace of a matrix of type Bidiagonal.
tr = trace(A)
A : Matrix of Bidiagonal type.
It is an intent(in) argument.
tr: Trace of the matrix.
Compute the trace of a Bidiagonal matrix.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(Bidiagonal), | intent(in) | :: | A |
Input matrix. |
Trace of the matrix.