Re: ReadList of Complex Numbers
- To: mathgroup at smc.vnet.net
- Subject: [mg21575] Re: ReadList of Complex Numbers
- From: Bojan Bistrovic <bojanb at physics.odu.edu>
- Date: Sat, 15 Jan 2000 02:04:18 -0500 (EST)
- Organization: Old Dominion Universityaruba
- References: <85mmik$26i@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Srikanth Raghavan wrote: > > Hello, > I have a data file of an array of complex numbers created by a > Fortran program. I want Mathematica to read this data file as an array > of complex numbers recognizing each row as a complex number. I have not > been able to find any way of doing this. Could anyone help? Please reply > to my e mail address in addition to posting the reply to this newsgroup > if possible. > Thanks > Srikanth > > --------------------------------------------------------------------------- > > Srikanth Raghavan > Rochester Theory Center for > Optical Science and Engineering > Dept. of Physics and Astronomy email: srirag at pas.rochester.edu > University of Rochester > Rochester, NY 14627 > > --------------------------------------------------------------------------- ReadList["filename",Complex[Real,Real]] should do it. Bye, Bojan -- ------------------------------------------------------------- Bojan Bistrovic, bojanb at physics.odu.edu Old Dominion University, Physics Department, Norfolk, VA -------------------------------------------------------------