| Author |
Comment/Response |
jagadeesh
|
05/20/97 08:51am
am trying to convert a variable ,say, var = d^3 to Cform and then saving to a file using Save command. When I use CForm[var], on the front end it gives Power(d,3) and when i save it, it saves it as CForm[d^3] only. Power(d,3) is more convenient to change to pow(d,3) as required by C language than something like CForm[d^3]. I have expressions which have 30 to 40 such variables. So it is a pain trying to change everything manually. Any help will be greatly apprerciated.
URL: , |
|