[Numpy-discussion] fancy view question

Vincent Schut schut at sarvision.nl
Wed Feb 18 03:51:47 EST 2009


Gael Varoquaux wrote:
> On Tue, Feb 17, 2009 at 10:18:11AM -0600, Robert Kern wrote:
>> On Tue, Feb 17, 2009 at 10:16, Gael Varoquaux
>> <gael.varoquaux at normalesup.org> wrote:
>>> On Tue, Feb 17, 2009 at 09:09:38AM -0600, Robert Kern wrote:
>>>> np.repeat(np.repeat(x, 2, axis=0), 2, axis=1)
> 
>>>> stride_tricks are fun, but this is already a solved problem in numpy.
> 
>>> Wow. I still have a lot to learn! How about adding a see-also in
>>> as_strided.
> 
>> They're not really related.
> 
> Yes, I now understand that there where no views involved, on the contrary
> to what I first thought, so indeed there are not related.
> 
> Gaël

Wow, did I start something! :-)
Thanks for all that shared their knowledge and ideas. I learned a lot 
beside getting answers to my questions.

Vincent.




More information about the NumPy-Discussion mailing list