compute the trace of a square Matrix
The Trace(A) function computes the sum of the diagonal elements of Matrix A.
This function is part of the LinearAlgebra package, and so it can be used in the form Trace(..) only after executing the command with(LinearAlgebra). However, it can always be accessed through the long form of the command by using LinearAlgebra[Trace](..).
Download Help Document
What kind of issue would you like to report? (Optional)