home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / sci / math / symbolic / 3297 < prev    next >
Encoding:
Internet Message Format  |  1992-12-16  |  1.1 KB

  1. Path: sparky!uunet!elroy.jpl.nasa.gov!sdd.hp.com!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!jvnc.net!princeton!carl!dcoster
  2. From: dcoster@carl.pppl.gov (David Coster)
  3. Newsgroups: sci.math.symbolic
  4. Subject: Mathematica, Fortran, Optimization
  5. Message-ID: <1526@carl.pppl.gov>
  6. Date: 16 Dec 92 20:27:25 GMT
  7. Organization: Princeton Plasma Physics Laboratory, Princeton University.
  8. Lines: 18
  9.  
  10.  
  11. I'm using Mathematica to generate some Fortran code.  The 22
  12. expressions currently turn into about 256 lines of code (the longest
  13. expression is about 34 lines long) without use of Simplify or Factor.
  14. Applying Simplify to the expressions takes a long time (2638 minutes
  15. so far on an IBM RS/6000 with only 1 of the 22 finished), though it
  16. does shorten the code (down to 7 lines from 26 on the only expression
  17. that has been completed so far).  Does anybody know of a better way of
  18. simplifying expressions?  Has anybody written a package to optimize
  19. the fortran code that it output?  Has anybody written a module that
  20. generates CM fortran code in terms of the shift calls?
  21.  
  22. Dave.
  23.  
  24. -- 
  25. ----
  26. David Coster
  27. dcoster@princeton.edu
  28.