method 'subs()'

Christian Bauer cbauer at thep.physik.uni-mainz.de
Wed May 8 13:31:43 CEST 2002


Hi!

On Wed, May 08, 2002 at 12:23:05PM +0200, Tatiana Zolo wrote:
> Why is different the behavior of subs() when it is applied on
> b^x*a^x or on b^5*a^5?

There's no difference in the behvaior of subs(), but GiNaC automatically
decomposes (a*b)^5:

> (a*b)^5;
a^5*b^5

Bye,
Christian

-- 
  / Coding on PowerPC and proud of it
\/ http://www.uni-mainz.de/~bauec002/



More information about the GiNaC-list mailing list