Fortran code
- To: MATHGROUP at yoda.physics.unc.edu
- Subject: Fortran code
- From: "Mathematical Institute, (0865) 273525" <abbey at vax.ox.ac.uk>
- Date: Wed, 22 Jun 1994 17:48:02 +0100
Dear MMA users, I wish to pass some parameter values generated as a list by MMA to a Fortran code. The following is an example. In[12]:= FortranForm[{s1 -> 1., s2 -> 2.}] Out[12]//FortranForm= List(Rule(s1,1.),Rule(s2,2.)) VAX Fortran does not understand "List" and "Rule". How does one circumvent this ? Abbey.