Loading

TR

math

Computes the trace of a square matrix. If the input matrix is not square, an error is raised.

TR is available since version 1.0.6.

Signatures

Examples

[ [ -2.0 2 -3 ] [ -1 1 3 ] [ 2 0 -1 ] ] ->MAT TR