A slightly different approach, not using windows:
(4*i.31)+/i.8 On 25 March 2015 at 20:55, Vijay Lulla <[email protected]> wrote: > Dear all, > I came across numpy's stride_tricks submodule via > http://labrosa.ee.columbia.edu/crucialpython/ from the seminar "The > dangers and delights Numpy stride tricks". So I went to the code > section and saw what they were discussing. This is how I did it in J: > > 2,\ _4 [\ i.128 > > Is there a better way to do this? Or a different way? > Thanks, > Vijay. > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
