[GiNaC-list] series of x^n around x=0

Feng Feng f.feng at outlook.com
Thu Dec 19 10:59:19 CET 2019


Hi all,

I got a question while using series on x^n with n a non-integer.
here is an example:
------
symbol x("x");
ex expr = pow(x, ex(3)/2);  // 3/2 may be a general non-integer
cout << expr.series(x,2) << endl;
------
The output is: Order(x^2)
so is there a way to handle this?

Best regards!
Feng
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cebix.net/pipermail/ginac-list/attachments/20191219/b4f637ab/attachment.htm>


More information about the GiNaC-list mailing list