Tr
Details
- Tr[list] sums the diagonal elements list[[i,i,…]].
- Tr works for rectangular as well as square matrices and tensors.
- Tr can be used on SparseArray objects. »
Examples
open allclose allGeneralizations & Extensions (6)
Applications (2)
Wolfram Research (1999), Tr, Wolfram Language function, https://reference.wolfram.com/language/ref/Tr.html (updated 2003).
Text
Wolfram Research (1999), Tr, Wolfram Language function, https://reference.wolfram.com/language/ref/Tr.html (updated 2003).
CMS
Wolfram Language. 1999. "Tr." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2003. https://reference.wolfram.com/language/ref/Tr.html.
APA
Wolfram Language. (1999). Tr. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Tr.html