mtx_trace
mtx_trace calculates the trace of an input matrix, defined as the sum of its diagonal elements. It accepts a matrix at its inlet and outputs the result as a matrix.
AI Generated
This content was generated with the assistance of AI. If you notice any errors, please report them or submit a fix using Submit. Check the prompt used here.
- Download via Deken.
Open
Pdand go toToolsFind Externals. Search foriemmatrixand install it. Then create an object withdeclare -lib iemmatrix -path iemmatrix. Finally, usemtx_traceor any other object fromiemmatrix.