This does not work with all kind of expressions, for example, with the one I wrote before... if I use this solution with: ex expr = a(t)^2 + sin(b(t)) it throws an error with the operator "^".


I presume should use pow( , 2), I'dont think  ^ is overloaded by default in GiNaC.



Any idea how can I do this king of derivations?

Thank you in advance!
Diego H.


_______________________________________________
GiNaC-list mailing list
GiNaC-list@ginac.de
https://www.cebix.net/mailman/listinfo/ginac-list