This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
documentation:ref:diracsimplify [2015/11/20 20:18] poslavskysv [Examples] |
documentation:ref:diracsimplify [2015/11/20 20:20] poslavskysv [Examples] |
||
---|---|---|---|
Line 55: | Line 55: | ||
<sxh groovy; gutter: true> | <sxh groovy; gutter: true> | ||
defineMatrices 'G_a', 'G5', Matrix1.matrix | defineMatrices 'G_a', 'G5', Matrix1.matrix | ||
- | def dSimplify = DiracSimplify[[Dimension: 'N']] | + | def dSimplify = DiracSimplify[[Dimension: 'D']] |
println dSimplify >> 'G_a*G^a'.t | println dSimplify >> 'G_a*G^a'.t | ||
</sxh> | </sxh> | ||
<sxh plain; gutter: false> | <sxh plain; gutter: false> | ||
- | > N | + | > D |
+ | </sxh> | ||
+ | <sxh groovy; gutter: true; first-line: 4> | ||
+ | println dSimplify >> 'G_a*G_b*G^a'.t | ||
+ | </sxh> | ||
+ | <sxh plain; gutter: false> | ||
+ | > -(-2+D)*G_{b} | ||
</sxh> | </sxh> | ||