[GiNaC-list] Substitution of indexed expressions

Vladimir V. Kisil kisilv at maths.leeds.ac.uk
Mon Nov 16 15:55:26 CET 2009


>>>>> On Sun, 15 Nov 2009 18:37:29 -0500, Z S <baltcode at gmail.com> said:
    ZS>  As a toy example, I wanted to simplify
    ZS> E[\sum_{i,j} A.i.j ^ 2] where it is known that E[A.i.j * A.i.j]= 1. 

	At the moment I cannot see any other solution but to use
  expand_dummy_sum() routine. However it may not suit your further

  Best wishes,
Vladimir V. Kisil     email: kisilv at maths.leeds.ac.uk
--                      www: http://maths.leeds.ac.uk/~kisilv/

More information about the GiNaC-list mailing list