Message Boards Message Boards

GROUPS:

FortranForm for ordinary differential equations

Posted 7 years ago
4341 Views
|
1 Reply
|
0 Total Likes
|

Hello Folks,

I have a system of ordinary differential equations that I can solve and handle under Mathematica. For some specific tasks, I would like to convert these ODE's system into Fortran (or could be C).

Sadly, FortranForm is not working at all, I got either a Null of some weird stuffs that are not Fortran. I understand that I need to specify a numerical methods, but clearly the FortranForm is not enough sophisticated for that purpose. Is there any way (beside writing myself the numerical solution) to translate an ODE system written in Mathematica into Fortran or C?

Thanks a lot for any help on that.

The package Format.m is better at translating Mathematica expressions to Fortran or C.

http://library.wolfram.com/infocenter/MathSource/60/

Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract