[Numpy-discussion] very simple iteration question.
Bryan Cole
bryan@cole.uklinux....
Sat May 3 05:43:28 CDT 2008
On Wed, 2008-04-30 at 21:09 +0200, Gael Varoquaux wrote:
> On Wed, Apr 30, 2008 at 11:57:44AM -0700, Christopher Barker wrote:
> > I think I still like the idea of an iterator (or maybe making rollaxis a
> > method?), but this works pretty well.
>
> Generally, in object oriented programming, you expect a method like
> rollaxis to modify an object inplace. At least that would be my
> expectation.
BTW. rollaxis isn't a method.
I was completely unaware of this function. Learned something new
today...
BC
>
> Gaël
More information about the Numpy-discussion
mailing list