Scilab Function

trace - trace

Calling Sequence

trace(X)

Parameters

Description

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

Same as sum(diag(X)).

Examples

See Also