From: "ara.t.howard" Date: 2007-10-05T05:45:48+09:00 Subject: Re: adding array of numbers On Oct 3, 2007, at 9:39 AM, Chris Bond wrote: > Given a file that looks like so: > 7 ==> training Set length > 11 ==> file length > 1 0 0 0 0 1 0 0 > 0 1 1 1 0 0 1 0 > 1 0 1 0 1 0 1 1 > 1 0 1 1 1 1 1 1 > 0 0 1 0 1 1 1 1 > 1 1 0 1 0 1 1 0 > 0 0 0 1 0 1 0 1 > 1 1 0 0 1 0 0 1 > 1 1 0 0 0 0 0 0 > 0 1 0 1 0 1 1 0 > 1 1 1 1 1 0 0 0 ==>end of file > #training set #Answer not answering your question, but you *really* want to be using NArray http://narray.rubyforge.org/ kind regards. a @ http://drawohara.com/ -- we can deny everything, except that we have the possibility of being better. simply reflect on that. h.h. the 14th dalai lama