expands out tensor-related products in the symbolic tensor expression texpr.
Details and Options
- TensorExpand expands sums and products by scalars in tensorial arguments.
- Expressions involving Dot and Cross are expanded by converting products of pairs of Cross subexpressions into linear combinations of Dot products.
- Symbolic arguments of Cross are assumed to represent vectors of adequate dimensionality.
- Symbolic arguments of MatrixPower and Inverse are assumed to represent invertible square matrices.
Examplesopen allclose all
Basic Examples (2)
For some operations, additional information needs to be supplied. The Dot product is not commutative in general:
Possible Issues (2)
Neat Examples (1)
For each integer n, there is a tree expression involving n Cross operations for n+1 vectors v0,…,vn:
Wolfram Research (2012), TensorExpand, Wolfram Language function, https://reference.wolfram.com/language/ref/TensorExpand.html.
Wolfram Language. 2012. "TensorExpand." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/TensorExpand.html.
Wolfram Language. (2012). TensorExpand. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/TensorExpand.html