[Numpy-discussion] fancy view question

Gael Varoquaux gael.varoquaux at normalesup.org
Tue Feb 17 11:16:10 EST 2009


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.

Gaël



More information about the NumPy-Discussion mailing list