trace(2)

NAME
trace - trace

CALLING SEQUENCE
trace(X)

PARAMETERS

X   : real or complex square matrix, polynomial or rational matrix.

DESCRIPTION
trace(X) is the trace of the matrix X.

Same as sum(diag(X)).

SEE ALSO
det