2 Oct
2004
2 Oct
'04
1:47 p.m.
Hello! This simple program #include <iostream> #include <ginac/ginac.h> using namespace std; using namespace GiNaC; int main(int argc, char** argv) { symbol x("x"); symbol a("a"); symbol b("b"); ex test = pow(x+a,b); cout << test << " = " << test.series(x,3) << endl; return 0; } gives (x+a)^b = 1+Order(x^3) instead of (x+a)^b = (a^b)+(a^b*b*a^(-1))*x+(1/2*a^b*b^2*a^(-2)-1/2*a^b*b*a^(-2))*x^2+Order(x^3) Attached patch fix this bug.
6 Oct
6 Oct
4:04 p.m.
Hi! On Fri, Oct 01, 2004 at 11:00:55AM +0400, Sheplyakov Alexei wrote:
Attached patch fix this bug.
Thanks again! :) Bye, Christian -- / Physics is an algorithm \/ http://www.uni-mainz.de/~bauec002/
7571
Age (days ago)
7575
Last active (days ago)
1 comments
2 participants
participants (2)
-
Christian Bauer
-
varg@thsun1.jinr.ru