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