Re: exporting an expression which is readable in fortran 77
- To: mathgroup at smc.vnet.net
- Subject: [mg39821] Re: [mg39809] exporting an expression which is readable in fortran 77
- From: BobHanlon at aol.com
- Date: Sat, 8 Mar 2003 02:47:38 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
In a message dated 3/7/03 4:15:16 AM, rajgupta121 at rediffmail.com writes: > How can I transfer an expression which I get from mathematica to a fortran > readable format? cut and paste doesn't work. > Have you tried FortranForm? f[x_] := a*x^2+b*x+c; f[x]//InputForm c + b*x + a*x^2 f[x]//FortranForm c + b*x + a*x**2 Bob Hanlon