Notice! This document is currently in Archived status.
The content of this document may be incorrect or outdated.

Print this article Edit this article

Converting Formulas in Mathematica to C and Fortran

Mathematica Mathematica Box

Formulas from MATHEMATICA can be inserted into your C and Fortran programs with the CForm and FortranForm commands which have the general forms:

 

      CForm[expression]  write out expr so it can be used in a C program

FortranForm[expression] write out expr for Fortran

Last Modified: Dec 19, 2016 11:12 am US/Eastern
Created: Mar 7, 2007 11:47 am US/Eastern by admin
JumpURL: