Hi Chris That looks excellent! I will give it a try. I noticed that there might also be a problem with the number of continuation lines (for f95 standard it should be 40 lines (20 for fixed form), it was extended to 256 for the f2003 std).
BTW do you know if there is a way to optimize an equation (e.g. vs operation counts)? For example: from f=(x+y)**2+(x+y)**4 (5 operations) to t1=(x+y); t2=t1**2; f=t1+t2**2 (4 operations) and at the end I would like to call fcode() for the optimized equation. Thanks V On Nov 21, 5:09 pm, Chris Smith <[email protected]> wrote: > How does this look: > > >>> fcode(1.0*x**(-1.0)) > ' 1.0d0*1.0/x' > >>> fcode(1.0*x**(-1)) > > ' 1.0d0/x' -- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sympy?hl=en.
