Status: New
Owner:
Labels: Type-Defect Priority-Medium
New issue 1487 by Toon.Verstraelen: fcode: print sympy expressions as
Fortran code
http://code.google.com/p/sympy/issues/detail?id=1487
Hi,
The patch is rather trivial for now. It just serves as a basic starting
point for further ext
Updates:
Labels: NeedsReview
Comment #1 on issue 1487 by ondrej.certik: fcode: print sympy expressions
as Fortran code
http://code.google.com/p/sympy/issues/detail?id=1487
(No comment was entered for this change.)
--
You received this message because you are listed in the owner
or CC
Comment #2 on issue 1487 by Toon.Verstraelen: fcode: print sympy
expressions as Fortran code
http://code.google.com/p/sympy/issues/detail?id=1487
This set of patches (including the original patch) is a more serious
implementation
of fcode. These are the choices made:
- fcode in the global n
Comment #3 on issue 1487 by ryanlists: fcode: print sympy expressions as
Fortran code
http://code.google.com/p/sympy/issues/detail?id=1487
I think this is a great feature. I used something similar with Maxima and
f2py for
my Ph.D. thesis. It was really great. This looks like a good start.
Comment #4 on issue 1487 by ryanlists: fcode: print sympy expressions as
Fortran code
http://code.google.com/p/sympy/issues/detail?id=1487
I guess I should add that I don't really see anything wrong with the patch
as is if
the user is supposed to know that they will have to wrap the code and
Comment #5 on issue 1487 by robert.dodier: fcode: print sympy expressions
as Fortran code
http://code.google.com/p/sympy/issues/detail?id=1487
Hi, I was asked to comment on this by Ryan.
* about throwing an exception when there is some unrecognized function: I
think
that's very clumsy, an
Comment #6 on issue 1487 by Toon.Verstraelen: fcode: print sympy
expressions as Fortran code
http://code.google.com/p/sympy/issues/detail?id=1487
It surely helps. For a single person, it is hard see all the different ways
people
want to use ccode and fcode. All comments are welcome. Most of
Comment #7 on issue 1487 by Toon.Verstraelen: fcode: print sympy
expressions as Fortran code
http://code.google.com/p/sympy/issues/detail?id=1487
Ok, what about this: an FCodePrinter and a StrictFCodePrinter
FCodePrinter: geared towards fcode function and copy past usage.
- Never raises an ex
Comment #8 on issue 1487 by ryanlists: fcode: print sympy expressions as
Fortran code
http://code.google.com/p/sympy/issues/detail?id=1487
I think two printers with as much core in common as possible makes a lot of
sense. I
see myself using this code in the future and I see Fortran code gen
Comment #9 on issue 1487 by Toon.Verstraelen: fcode: print sympy
expressions as Fortran code
http://code.google.com/p/sympy/issues/detail?id=1487
Thanks for the hints and examples. I have the impression you did also use
common
subexpression elimination for this example. The plan is to have C
Comment #10 on issue 1487 by ryanlists: fcode: print sympy expressions as
Fortran code
http://code.google.com/p/sympy/issues/detail?id=1487
That sounds like a great plan. Thanks for all your work on this issue.
--
You received this message because you are listed in the owner
or CC fields of
Comment #11 on issue 1487 by Toon.Verstraelen: fcode: print sympy
expressions as Fortran code
http://code.google.com/p/sympy/issues/detail?id=1487
First steps can be found here:
http://github.com/tovrstra/sympy/tree/issue1487
--
You received this message because you are listed in the owner
o
Comment #12 on issue 1487 by ondrej.certik: fcode: print sympy expressions
as Fortran code
http://code.google.com/p/sympy/issues/detail?id=1487
What is the status of this issue? Toon, is something ready to be pushed in?
--
You received this message because you are listed in the owner
or CC fi
Updates:
Labels: -NeedsReview
Comment #13 on issue 1487 by ondrej.certik: fcode: print sympy expressions
as Fortran code
http://code.google.com/p/sympy/issues/detail?id=1487
I've looked at the issue1487 branch -- maybe some of the patches could be
squashed
together. Ping me if your b
Comment #14 on issue 1487 by Toon.Verstraelen: fcode: print sympy
expressions as Fortran code
http://code.google.com/p/sympy/issues/detail?id=1487
Indeed, some of them just be pushed together. I'm going to clean things up
and make
sure the usage of the profile argument is similar to the othe
Updates:
Labels: NeedsReview
Comment #15 on issue 1487 by Toon.Verstraelen: fcode: print sympy
expressions as Fortran code
http://code.google.com/p/sympy/issues/detail?id=1487
I have applied the last patches and uploaded them to github. Doc strings,
doc tests,
normal tests and module
Updates:
Owner: Toon.Verstraelen
Comment #16 on issue 1487 by Toon.Verstraelen: fcode: print sympy
expressions as Fortran code
http://code.google.com/p/sympy/issues/detail?id=1487
(No comment was entered for this change.)
--
You received this message because you are listed in the owne
Updates:
Labels: -NeedsReview
Blockedon: 1533 1534
Comment #17 on issue 1487 by Toon.Verstraelen: fcode: print sympy
expressions as Fortran code
http://code.google.com/p/sympy/issues/detail?id=1487
I've created separate issues for the problems encountered while writing
fcode:
Updates:
Labels: -Type-Defect Type-Enhancement
Blockedon: 1839
Comment #18 on issue 1487 by Toon.Verstraelen: fcode: print sympy
expressions as Fortran code
http://code.google.com/p/sympy/issues/detail?id=1487
I've been off for a while (finished my PhD and writing up some pape
Updates:
Status: Fixed
Comment #19 on issue 1487 by Toon.Verstraelen: fcode: print sympy
expressions as Fortran code
http://code.google.com/p/sympy/issues/detail?id=1487
(No comment was entered for this change.)
--
You received this message because you are listed in the owner
or CC f
20 matches
Mail list logo