Tensor[SymmetrizeIndices] - symmetrize or skew-symmetrize a list of tensor indices
Calling Sequences
SymmetrizeIndices(T, Indices, keyword)
Parameters
T - a tensor
Indices - a list of integers, referring to the arguments of T
keyword - a keyword string, either "Symmetric" or "SkewSymmetric"
Description
Examples
We illustrate the conventions for this program by describing some simple special cases. Let be vectors. If is a rank 3 covariant tensor, then the result of symmetrizing over its first 2 arguments is the tensor . The result of skew-symmetrizing over its 1st and 3rd arguments is the tensor . The symmetrization of over all its indices is the tensor where the sum contains 6 terms involving all possible permutations of the arguments . In general, the symmetrization over arguments involves a normalization factor .
SymmetrizeIndices(T, Indices, keyword) will symmetrize or skew-symmetrize the tensor T over the arguments given by the Indices list. Note that all the elements of the Indices list must refer to indices of the same tensor index type.
SymmetrizeIndices acts as a projection operator -- two applications of SymmetrizeIndices to the same tensor gives the same result as a single application.
This command is part of the DifferentialGeometry:-Tensor package, and so can be used in the form SymmetrizeIndices(...) only after executing the command with(DifferentialGeometry) and with(Tensor) in that order. It can always be used in the long form DifferentialGeometry:-Tensor:-SymmetrizeIndices.
Example 1.
First create a 4 dimensional manifold and define a rank 5 tensor on .
Symmetrize over its 1st and 2nd arguments.
Skew-symmetrize over its 1st, 2nd and 4th arguments.
Note that SymmetrizeIndices acts as a projection operator.
See Also
DifferentialGeometry
Tensor
RearrangeIndices
Download Help Document