I want to calculate a second order covariant derivative on scalar field. I do not know how to input the function information appropriately, so that the out put can be a matrix:
I am expecting a matrix, but it displays not only a matrix part, but also e_a^1 e_b^1 part as shown in the picture. How do I force the e_a^1 e_b^1 part display as a matrix? Code relevant is given below.
DefChart[d0, M, {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}, {t[], r[], x1[], x2[],
x3[], x4[], x5[], x6[], x7[], x8[]}, ChartColor -> Red];
met = CTensor[{{-((1 - blackhole^7/r[]^7)/Sqrt[1 + Leng^7/r[]^7]), 0,
0, 0, 0, 0, 0, 0, 0, 0}, {0,
Sqrt[1 + Leng^7/r[]^7]/(1 - blackhole^7/r[]^7), 0, 0, 0, 0, 0, 0,
0, 0}, {0, 0, Sqrt[1 + Leng^7/r[]^7] r[]^2, 0, 0, 0, 0, 0, 0, 0
}, {0, 0, 0, r[]^2 Sqrt[1 + Leng^7/r[]^7] Sin[x1[]]^2, 0, 0, 0, 0,
0, 0}, {0, 0, 0, 0,
r[]^2 Sqrt[1 + Leng^7/r[]^7] Sin[x1[]]^2 Sin[x2[]]^2, 0, 0, 0, 0,
0}, {0, 0, 0, 0, 0,
r[]^2 Sqrt[1 + Leng^7/r[]^7] Sin[x1[]]^2 Sin[x2[]]^2 Sin[x3[]]^2,
0, 0, 0, 0}, {0, 0, 0, 0, 0, 0,
r[]^2 Sqrt[1 + Leng^7/r[]^7] Sin[x1[]]^2 Sin[x2[]]^2 Sin[
x3[]]^2 Sin[x4[]]^2, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0,
r[]^2 Sqrt[1 + Leng^7/r[]^7] Sin[x1[]]^2 Sin[x2[]]^2 Sin[
x3[]]^2 Sin[x4[]]^2 Sin[x5[]]^2, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0,
r[]^2 Sqrt[1 + Leng^7/r[]^7] Sin[x1[]]^2 Sin[x2[]]^2 Sin[
x3[]]^2 Sin[x4[]]^2 Sin[x5[]]^2 Sin[x6[]]^2, 0}, {0, 0, 0,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