File: weyl_index_order.tex

package info (click to toggle)
cadabra2 2.3.6.8-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 77,508 kB
  • sloc: ansic: 132,438; cpp: 86,549; python: 1,365; javascript: 191; xml: 182; sh: 180; objc: 53; makefile: 38
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}
~