Differences

This shows you the differences between two versions of the page.

Link to this comparison view

documentation:ref:invertindices [2015/11/20 19:37]
poslavskysv [Examples]
documentation:ref:invertindices [2015/11/21 12:33]
Line 1: Line 1:
-====== InvertIndices ====== 
-====Description==== 
- 
-  * ''​InvertIndices''​ inverts indices of tensors 
-  * ''​%%InvertIndices[type]%%''​ inverts indices of specified type 
-====Examples==== 
----- 
-Invert indices of some expression 
-<sxh groovy; gutter: false> 
-println InvertIndices >> '​A_mn'​.t 
-</​sxh>​ 
-<sxh plain; gutter: false> 
-   > A^mn 
-</​sxh>​ 
-<sxh groovy; gutter: false> 
-println InvertIndices >> '​A_mn*(p^m + q^m) + T_n'.t 
-</​sxh>​ 
-<sxh plain; gutter: false> 
-   > A_m^n*(p^m + q^n) + T^n 
-</​sxh>​ 
- 
----- 
-Invert only indices of certain type: 
-<sxh groovy; gutter: false> 
-println InvertIndices[LatinLower] >> '​T_ABmn'​.t 
-</​sxh>​ 
-<sxh plain; gutter: false> 
-   > T_AB^mn 
-</​sxh>​ 
-<sxh groovy; gutter: false> 
-println InvertIndices[GreekLower] >> '​A_{mn\\mu}*(p^m + q^m) + T_{n\\mu}'​.t 
-</​sxh>​ 
-<sxh plain; gutter: false> 
-   > A_{mn}^{\\mu}*(p^m + q^m) + T_{n}^{\\mu} 
-</​sxh>​ 
- 
-====See also==== 
-  * Related guides: [[documentation:​guide:​applying_and_manipulating_transformations]],​ [[documentation:​guide:​list_of_transformations]],​ [[documentation:​guide:​programming_with_redberry|]]