On Tue, Feb 17, 2009 at 10:16, Gael Varoquaux <gael.varoqu...@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. -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco _______________________________________________ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion