From: Milo Thurston Date: 2010-03-10T23:38:51+09:00 Subject: Re: Calculation of means in Narray objects Masahiro Tanaka wrote: > Right. > Note that reshape! changes the shape of original narray without creating > new object. > reshape creates new object with new shape. The "!" was a mistake, I meant to do this: new = narray.reshape(96,73,12,140).mean(3) That seems to be working as expected - thanks again! -- Posted via http://www.ruby-forum.com/.