[Numpy-discussion] New patch for new mgrid / ogrid functionality
Gael Varoquaux
gael.varoquaux@normalesup....
Tue Sep 23 13:37:34 CDT 2008
On Tue, Sep 23, 2008 at 09:39:53AM +0200, David Kaplan wrote:
> I would note that there is nothing in the API breakage that prevents
> doing what Gael mentions. The only change is that:
> > > X = mgrid[0:4, 0:4, 0:4]
> would be replaced with:
> X = asarray( mgrid[ 0:4, 0:4, 0:4 ] )
Doesn't this force a data copy?
Gaël
More information about the Numpy-discussion
mailing list