simplify_indexed() didn't fully simplify the expressions

Yong Xiao yxiao at zimp.zju.edu.cn
Mon Jun 9 17:14:35 CEST 2003


Richard B. Kreckel wrote:
> Hi,
> 
> On Mon, 9 Jun 2003, Yong Xiao wrote:
> 
>>It seems that for some expression(suppose it's defined as e1)
>>simplify_indexed() doesn't do simplification fully. However, if I define
>>another ex objec tmp = e1, and e1.simplify_indexed() will give a more
>>simple expression which, although, is still not of the simplest form.
>>Anyone knows a more efficient way?
> 
> 
> Can you provide a definition of "simple"?
> 
> No kidding, an example of what you have and what you want to get would be
> really helpful.  Without that nobody can help you, I'm afraid.
I am sorry that I made a mistake. The problem is caused by the fact that 
I used three identical dummy indices in the summation.
Thank you very much for your kind help.

cheers





More information about the GiNaC-list mailing list