collect() eats fractions

Pearu Peterson pearu at cens.ioc.ee
Thu Apr 12 12:03:04 CEST 2001


Hi!

In ginsh (ginac V0.8.0):

> x/(1+x);
(1+x)^(-1)*x
> collect(x/(1+x),x);
0                           <----???
> collect(1+x/(1+x),x);
1                           <----???
> collect(x+x/(1+x),x);
(1+(1+x)^(-1))*x

Is this GiNaC bug or feature?

Pearu

-
To UNSUBSCRIBE, email to ginac-list at ginac.de with a subject of "unsubscribe".



More information about the GiNaC-list mailing list