====== InvertIndices ====== ====Description==== * ''InvertIndices'' inverts indices of tensors * ''%%InvertIndices[type]%%'' inverts indices of specified type ====Examples==== ---- Invert indices of some expression println InvertIndices >> 'A_mn'.t > A^mn println InvertIndices >> 'A_mn*(p^m + q^m) + T_n'.t > A_m^n*(p^m + q^m) + T^n ---- Invert only indices of certain type: println InvertIndices[LatinLower] >> 'T_ABmn'.t > T_AB^mn println InvertIndices[GreekLower] >> 'A_{mn\\mu}*(p^m + q^m) + T_{n\\mu}'.t > A_{mn}^{\\mu}*(p^m + q^m) + T_{n}^{\\mu} ====See also==== * Related guides: [[documentation:guide:applying_and_manipulating_transformations]], [[documentation:guide:list_of_transformations]], [[documentation:guide:programming_with_redberry|]]