the trace of a matrix
Important: The linalg package has been deprecated. Use the superseding command LinearAlgebra[Trace], instead.
- For information on migrating linalg code to the new packages, see examples/LinearAlgebraMigration.
The function trace(A) computes the trace of the matrix A. The trace of a matrix A is defined to be the sum of the diagonal elements of A.
The command with(linalg,trace) allows the use of the abbreviated form of this command.
Download Help Document
What kind of issue would you like to report? (Optional)