1 #include "../../../src/FTensor.hpp"
2 #include "../test_for_zero.hpp"
21 t2(
i,
j) = t2_2(
j,
i);
23 t2s(
i,
j) = t2(
i,
k) ^ t2_2(
k,
j);
25 - (t2(0, 0) * t2_2(0, 0) + t2(0, 1) * t2_2(1, 0)
26 + t2(0, 2) * t2_2(2, 0)),
27 "T2(i,k)^T2(k,j)(0,0)");
29 - (t2(1, 0) * t2_2(0, 0) + t2(1, 1) * t2_2(1, 0)
30 + t2(1, 2) * t2_2(2, 0)),
31 "T2(i,k)^T2(k,j)(1,0)");
33 - (t2(2, 0) * t2_2(0, 0) + t2(2, 1) * t2_2(1, 0)
34 + t2(2, 2) * t2_2(2, 0)),
35 "T2(i,k)^T2(k,j)(2,0)");
37 - (t2(0, 0) * t2_2(0, 1) + t2(0, 1) * t2_2(1, 1)
38 + t2(0, 2) * t2_2(2, 1)),
39 "T2(i,k)^T2(k,j)(0,1)");
41 - (t2(1, 0) * t2_2(0, 1) + t2(1, 1) * t2_2(1, 1)
42 + t2(1, 2) * t2_2(2, 1)),
43 "T2(i,k)^T2(k,j)(1,1)");
45 - (t2(2, 0) * t2_2(0, 1) + t2(2, 1) * t2_2(1, 1)
46 + t2(2, 2) * t2_2(2, 1)),
47 "T2(i,k)^T2(k,j)(2,1)");
49 - (t2(0, 0) * t2_2(0, 2) + t2(0, 1) * t2_2(1, 2)
50 + t2(0, 2) * t2_2(2, 2)),
51 "T2(i,k)^T2(k,j)(0,2)");
53 - (t2(1, 0) * t2_2(0, 2) + t2(1, 1) * t2_2(1, 2)
54 + t2(1, 2) * t2_2(2, 2)),
55 "T2(i,k)^T2(k,j)(1,2)");
57 - (t2(2, 0) * t2_2(0, 2) + t2(2, 1) * t2_2(1, 2)
58 + t2(2, 2) * t2_2(2, 2)),
59 "T2(i,k)^T2(k,j)(2,2)");