[GiNaC-list] problem with function pow
saurav at sas.upenn.edu
Wed Feb 8 13:28:10 CET 2006
Chris Dams wrote:
>On Tue, 2006-02-07 at 16:13 -0500, Saurav Pathak wrote:
>>+ string str = "pow(x, 2)";
>Change this into string str = "x^2"; and you're fine.
In real life, I get such strings from an external parser that converts
MathML. Some functions are complicated and have other functions
embedded---for instance exponentials. I don't want to further parse
such a string.
More information about the GiNaC-list