Questions tagged [fortran]
Questions about interfacing Mathematica and Fortran. This also includes conversion of Fortran style numbers to Mathematica style.
11 questions with no upvoted or accepted answers
8
votes
0
answers
531
views
Where is f2mma.zip, Fortran to Mathematica converter?
I want to convert the SOFA libraries to
Mathematica, and found out about f2mma, a Fortran to Mathematica
converter.
Google points to many papers about f2mma, but the only link to the
software ...
7
votes
0
answers
267
views
Output most efficient Fortran code by mathematica
I am trying to output most efficient Fortran code by mathematica 9.0 with the method Simon provided:
How can I get Mathematica to produce better Fortran code?
The expressions is as follows:
...
4
votes
0
answers
96
views
weird behaviour of Listable fortran Librarylink function: different result each evaluation
I am working with fotran librarylink function currently. In this post, I will show some weird result of Listable fortran librarylink generated by intel compiler under windows (I tried gcc on linux the ...
3
votes
0
answers
141
views
FORTRAN complex number passing to Mathematica through NETLink
I used to use NETLink to call FORTRAN functions or subroutines compiled into a dll file. This works very well until now that I want to call a function which has complex arguments and returns a complex ...
2
votes
0
answers
126
views
Convert huge (10-100MB of plain text) Mathematica function for external use
I have a huge Mathematica function (plain text ranging 10-100MB) that I am trying to convert to Fortran for external use. I tried using FortranForm, which does most of the work, and cleaned the code ...
2
votes
0
answers
348
views
Fortranform output in double precision
I want to take the output in fortran form but written in double precision notation.
For example,
exp=1 + 8*as^2*Log[2*x]
which gives
...
2
votes
0
answers
95
views
possibility of using `f2py` for interoperability with Fortran
Although interoperability with Fortran could be realised by using LibraryLink (e.g., Linking FORTRAN with Librarylink), the approach is not so straight forward, in ...
1
vote
0
answers
237
views
How to integrate a function written in fortran that solves a set of nonlinear equations into mathematica?
I am trying to integrate the solver for the set of nonlinear equations link written in Fortran language into mathematica . To do so i developed a function called netlib based on the explanation given ...
1
vote
0
answers
164
views
Call NAG subroutine in Mathematica 10
Is there any package or any other way to call or use NAG library?
It was possible in old mathematica?
1
vote
0
answers
520
views
Integrate fortran function into Mathematica
I was trying to use Fortran function in Mathematica. I was following mainly this answer . My Fortran code looks like this:
...
0
votes
0
answers
139
views
Cannot open Utilities 'FilterOptions'
I'm trying to run a code like this in Mathematica:
...