home *** CD-ROM | disk | FTP | other *** search
- 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
- From: joe@decoy.uoregon.edu (Joe St Sauver)
- Newsgroups: sci.math.symbolic
- Subject: Re: MAPLE: Reading list of points from external file
- Date: 17 Nov 1992 00:46:21 GMT
- Organization: University of Oregon Network Services
- Lines: 31
- Distribution: sci
- Message-ID: <1e9fctINNnic@pith.uoregon.edu>
- References: <CHUCK.92Nov16190416@nimbus.drexel.edu>
- NNTP-Posting-Host: decoy.uoregon.edu
-
- In article <CHUCK.92Nov16190416@nimbus.drexel.edu> chuck@nimbus.drexel.edu
- (Wombozni Klik) writes:
- >
- > We here at Drexel are trying to do the same thing, that is, read in a
- > set of data points from an external file.
- > Our idea (obviously not the best, but it could work) is to alter
- > whatever program we're using to generate the data to write:
- >
- > x[1] := 3; y[1] := 10;
- > x[2] := 4; y[2] := 31;
- > ....
- >
- > In Maple, we can read in this file, which defines the arrays x and y.
- > Granted, you have to know this beforehand that you're going to put the
- > file in Maple - you may even want to write a little program in the
- > language of choice to reformat your data to the above.
-
- Indeed, that seems to be the approach described in The Maple V Library
- Reference Manual, pp. 439-440 (they elect to use awk to process a file
- into stylized list of lists format). However, for large files that need
- to be used by several programs (such as Fortran or C codes, plus one or
- more symbolic math packages), it sure would be nice not to have to treat
- Maple as a special case requiring its own complete set of (basically
- redundant) data files.
-
- I mean after all: I could read in a matrix of numbers from a file using
- Basic on an timesharing system at St Johns University in Collegeville
- Minnesota fifteen years ago. Ah, those nostalgic and powerful paper tape
- days on ASR 33 TTY's. But I digress...
-
- Joe
-