Wolfram ResearchPRODUCTSPURCHASEFOR USERSCOMPANYOUR SITES
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.

Documentation / Mathematica / Built-in Functions / Numerical Computation / Matrix Operations /

Tr

FilledSmallSquare Tr[list] finds the trace of the matrix or tensor list.

FilledSmallSquare Tr[list, f] finds a generalized trace, combining terms with f instead of Plus.

FilledSmallSquare Tr[list, f, n] goes down to level n in list.

FilledSmallSquare Tr[list] sums the diagonal elements list[[i, i, ... ]].

FilledSmallSquare Tr works for rectangular as well as square matrices and tensors.

FilledSmallSquare Tr can be used on SparseArray objects.

FilledSmallSquare See Section 3.7.7.

FilledSmallSquare See also: Total, Transpose, Det, DiagonalMatrix, Eigenvalues.

FilledSmallSquare New in Version 4.

Further Examples



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information


 © 2008 Wolfram Research, Inc.  Terms of Use  Privacy Policy | [ja] |
Sign up for our newsletter: