Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

OSU Physics Faqs : Mathematica : Input and output from files : How do I output results in fortran-readable form?

0
10 Posted

OSU Physics Faqs : Mathematica : Input and output from files : How do I output results in fortran-readable form?

0
10

There are two ways to do this. First, if you are using Mathematica 3.0 or higher, there is a function called FortranForm which allows you to print output in FORTRAN readable form to a file or printer. There is also a source known as MathLink which allows communication between Mathematica and various programming languages. Two sites which allow downloadable Mathlink tools are: http://www.mathsource.com/Content/Enhancements/MathLink/0206-693 and http://www.mathsource.com/Content22/Enhancements/Interfacing/Fortran/0205-43. More information on both MathLink and the FortranForm command can be found at the Mathematica website: http://www.wolfram.

0

There are two ways to do this. First, if you are using Mathematica 3.0 or higher, there is a function called FortranForm which allows you to print output in FORTRAN readable form to a file or printer. There is also a source known as MathLink which allows communication between Mathematica and various programming languages. Two sites which allow downloadable Mathlink tools are: http://www.mathsource.com/Content/Enhancements/MathLink/0206-693 and http://www.mathsource.com/Content22/Enhancements/Interfacing/Fortran/0205-43.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123