[GiNaC-list] bugs in indexed object
Vladimir V. Kisil
V.Kisil at leeds.ac.uk
Sun Apr 14 10:10:24 CEST 2024
>>>>> On Sun, 14 Apr 2024 08:01:15 +0000, "Dr. Mithun Bairagi" <bairagirasulpur at gmail.com> said:
MB> the above program shows the following result:
MB> A.i.i*B~symbol16.symbol16-A.i.i*B~symbol17.symbol17
MB> But I think the result should be zero.
You can get 0 by
cout << expand_dummy_sum(e) << endl;
Please see GiNaC tutorial for details on expand_dummy_sum() function.
--
Vladimir V. Kisil http://http://v-v-kisil.rf.gd
Book: Geometry of Mobius Maps https://doi.org/10.1142/p835
Soft: Geometry of cycles http://moebinv.sourceforge.net/
Jupyter notebooks: https://github.com/vvkisil?tab=repositories
More information about the GiNaC-list
mailing list