From: Admin Tensor Date: 2012-10-03T04:45:27+09:00 Subject: Re: 2D array strategies Thomas Luedeke wrote in post #1078414: > I parse the file and identify the data associated with the first case, > and load it up into an array. I then parse through gibberish until I > identify the data associated with the second case. Now what? Hi, It really depends on the actual data. If you really want the most efficient, you can try the NArray. (Or, if you are using Windows, you can try to use RTensor (http://tensor.heliohost.org) which I wrote a while ago.) At least the arrays will be 2D. If all the cases have the same amount of data, then you can make a single 3D array. If on the other hand the amount of data is not much, then you can use a combination of Ruby arrays and/or hashes. Regards, Bill -- Posted via http://www.ruby-forum.com/.