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.
A ≔ matrix⁡3,3,a,b,c,d,e,f,g,h,i
A ≔ abcdefghi
Download Help Document
What kind of issue would you like to report? (Optional)
Thank you for submitting feedback on this help document. Your feedback will be used
to improve Maple's help in the future.