How can one create a sliding window in J?

3 sw i.6

0 1 2
1 2 3
2 3 4
3 4 5

4 sw i.7
0 1 2 3
1 2 3 4
2 3 4 5
3 4 5 6
4 5 6 7

What is the J code for sw?





Skip Cave
Cave Consulting LLC
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to