Mathematica 9 is now available

Wolfram Library Archive


All Collections Articles Books Conference Proceedings
Courseware Demos MathSource Technical Notes
Title Downloads

Fortran Definitions
Author

Pekka Janhunen
Organization: Finnish Meterological Institute
Old MathSource #

0202-172
Revision date

1990-04-01
Description

This Mathematica code defines a function FortranDef that takes a Mathematica expression, writes a corresponding, optimized Fortran program, compiles it, and defines a Mathematica function that calls the program.
Subject

*Mathematica Technology > Linking Technology
Keywords

FortranDef, MultiEval, FortranIntegrate2DDef, FortranIntegrate2D, VariableType, , ParameterType, IntvarType, Nx, Ny, DontCompile, Fortran, Programming example, Interfacing, Fortran, Compiler, External functions, unix
Downloads Download Wolfram CDF Player

Download
FortranDef.nb (26.5 KB) - Mathematica notebook, updated to v3,
Download
FortranDefDemo.nb (9.5 KB) - Test file for FortranDef.nb

Files specific to Mathematica 2.2 version:
Download
FortranDef.m (19.4 KB) - Mathematica package
Download
FortranDefDemo.m (5.5 KB) - Test file for FortranDef.m