[GiNaC-list] Fwd: Performance problem with series

Sheplyakov Alexei varg at thsun1.jinr.ru
Fri Jan 21 13:11:04 CET 2005


Hi!

On Wed, Jan 19, 2005 at 06:31:41PM +0100, Chris Dams wrote:
> 
> Ad (2): I think that the expansion coefficients should be in expandend
> form (again in the sense of .expand()). 


In ginsh:

series((a+x)^(100), x==1, 3);
((1+a)^100)+(100*(1+a)^99)*(-1+x)+(4950*(1+a)^98)*(-1+x)^2+Order((-1+x)^3)

I don't think anyone wants these coefficient to be .expand()'-ed...

Best regards,
	Alexei.




More information about the GiNaC-list mailing list