From: Milo Thurston Date: 2010-03-10T22:32:55+09:00 Subject: Re: Calculation of means in Narray objects Masahiro Tanaka wrote: > If you mean [0,0,0],[0,0,10],[0,0,20]...[0,0,90], try > narray.reshape(10,10,10,10).mean(3) Thanks. Would you mind pointing me in the direction of any documentation on that particular method, please? I presume that the (10,10,10,10) refers to the dimensions of the dimensions of the new array (the first three 10s) and the step size to iterate (the last 10) but I am not sure about the mean(3). -- Posted via http://www.ruby-forum.com/.