File: weyl_index_order.tex

package info (click to toggle)
cadabra2 2.4.3.2-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 78,732 kB
  • sloc: ansic: 133,450; cpp: 92,064; python: 1,530; javascript: 203; sh: 184; xml: 182; objc: 53; makefile: 51
file content (15 lines) | stat: -rw-r--r-- 466 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
\cdbalgorithm{weyl\_index\_order}{}

Sorts the indices on a \deprecated 
Riemann or Weyl tensor by first applying anti-symmetry in each pair,
and subsequently sorting the pairs by using symmetry under pair
exchange. This alphabetical sorting can be prohibited by giving a
list of indices which is preferred to be in the first pair.
\begin{screen}{1,2,4}
R_{s2 s1 s3 r1};
@weyl_index_order(%){s1};
R_{s1 s2 r1 s3}
@weyl_index_order(%);
R_{r1 s3 s1 s2}
\end{screen}
~