home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / sci / math / symbolic / 2986 < prev    next >
Encoding:
Internet Message Format  |  1992-11-17  |  1.9 KB

  1. Path: sparky!uunet!convex!darwin.sura.net!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!usenet.coe.montana.edu!news.uoregon.edu!news.uoregon.edu!systems
  2. From: joe@decoy.uoregon.edu (Joe St Sauver)
  3. Newsgroups: sci.math.symbolic
  4. Subject: Re: MAPLE: Reading list of points from external file
  5. Date: 17 Nov 1992 00:46:21 GMT
  6. Organization: University of Oregon Network Services
  7. Lines: 31
  8. Distribution: sci
  9. Message-ID: <1e9fctINNnic@pith.uoregon.edu>
  10. References: <CHUCK.92Nov16190416@nimbus.drexel.edu>
  11. NNTP-Posting-Host: decoy.uoregon.edu
  12.  
  13. In article <CHUCK.92Nov16190416@nimbus.drexel.edu> chuck@nimbus.drexel.edu  
  14. (Wombozni Klik) writes:
  15. > We here at Drexel are trying to do the same thing, that is, read in a
  16. > set of data points from an external file. 
  17. > Our idea (obviously not the best, but it could work) is to alter
  18. > whatever program we're using to generate the data to write:
  19. > x[1] := 3; y[1] := 10;
  20. > x[2] := 4; y[2] := 31;
  21. > ....
  22. > In Maple, we can read in this file, which defines the arrays x and y.
  23. > Granted, you have to know this beforehand that you're going to put the
  24. > file in Maple - you may even want to write a little program in the
  25. > language of choice to reformat your data to the above. 
  26.  
  27. Indeed, that seems to be the approach described in The Maple V Library
  28. Reference Manual, pp. 439-440 (they elect to use awk to process a file
  29. into stylized list of lists format). However, for large files that need
  30. to be used by several programs (such as Fortran or C codes, plus one or
  31. more symbolic math packages), it sure would be nice not to have to treat
  32. Maple as a special case requiring its own complete set of (basically
  33. redundant) data files.
  34.  
  35. I mean after all: I could read in a matrix of numbers from a file using
  36. Basic on an timesharing system at St Johns University in Collegeville
  37. Minnesota fifteen years ago. Ah, those nostalgic and powerful paper tape
  38. days on ASR 33 TTY's. But I digress...
  39.  
  40. Joe
  41.