- #1
member 428835
Hi PF!
My question is easiest to show via the following input, the output, and my desired output.
input: x^2 + y^2 // CForm
output: Power(x,2) + Power(y,2)
desired output: pow(pos().x,2) + pow(pos().y,2)
I appreciate any help you can offer. Thanks so much!
Edit: for what it's worth, I'm just going to copy-paste the output into a different program, if that matters?
My question is easiest to show via the following input, the output, and my desired output.
input: x^2 + y^2 // CForm
output: Power(x,2) + Power(y,2)
desired output: pow(pos().x,2) + pow(pos().y,2)
I appreciate any help you can offer. Thanks so much!
Edit: for what it's worth, I'm just going to copy-paste the output into a different program, if that matters?
Last edited by a moderator: