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:13] poslavskysv [Examples] |
documentation:ref:diracsimplify [2015/11/20 20:18] poslavskysv [Examples] |
||
---|---|---|---|
Line 62: | Line 62: | ||
</sxh> | </sxh> | ||
+ | ---- | ||
+ | Specify additional simplifications: | ||
+ | <sxh groovy; gutter: true> | ||
+ | defineMatrices 'G_a', 'G5', Matrix1.matrix | ||
+ | def dSimplify = DiracSimplify[[Simplifications: 'p_a*k^a = s'.t]] | ||
+ | println dSimplify >> 'p^b*k^c*G_a*G_b*G_c*G^a'.t | ||
+ | </sxh> | ||
+ | <sxh plain; gutter: false> | ||
+ | > 4*s | ||
+ | </sxh> | ||
====See also==== | ====See also==== | ||
* Related guides: [[documentation:guide:applying_and_manipulating_transformations]], [[documentation:guide:Setting up matrix objects]], [[documentation:guide:list_of_transformations]] | * Related guides: [[documentation:guide:applying_and_manipulating_transformations]], [[documentation:guide:Setting up matrix objects]], [[documentation:guide:list_of_transformations]] |