simplify_indexed() didn't fully simplify the expressions

Yong Xiao yxiao at
Mon Jun 9 10:40:07 CEST 2003

> Hi!
> I am using GiNaC1.1.0
> 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
                            sorry ~~~~~~~~~~~it's tmp.simplify_indexed()

> simple expression which, although, is still not of the simplest form.
> Anyone knows a more efficient way?
> Another problem I met is that when I simplify an expression which is 
> composed of 240 terms, where every term is a simple product of indexed 
> objects, the complilation will stop, saying "out of memory". I don't 
> think that GiNaC can't handle such expressions. Anything wrong?

More information about the GiNaC-list mailing list