This is an old revision of the document!


ExpandTensors


Description

  • ExpandTensors expands out products of tensors leaving unexpended all symbolic terms.
  • ExpandTensors[transformations] or ExpandTensors[[Simplifications: transformations]] applies transformations at each level of expand procedure.
  • ExpandTensors true will not expand expressions like (A_a^a + B_a^a)*(C_b^b + D_b^b).

Examples


Expand tensors in expressions:

println ExpandTensors >> '(a+b)**10*(x_n + y_n)*(f_m - r_m)'.t
   > (a+b)**10*x_{n}*f_{m}+(a+b)**10*f_{m}*y_{n}-(a+b)**10*r_{m}*y_{n}-(a+b)**10*x_{n}*r_{m}

println ExpandTensors >> '(1 + x)**4*(A_a + B_a)'.t
   > (1 + x)**4 * A_a + (1 + x)**4 * B_a


See also