[GiNaC-list] problem with function pow
Saurav Pathak
saurav at sas.upenn.edu
Wed Feb 8 13:28:10 CET 2006
Chris Dams wrote:
>Dear Saurav,
>
>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.
>
>
>
Hi Chris,
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.
Thanks,
Saurav
More information about the GiNaC-list
mailing list