That's easy:

   1 2 |.!.0] 5 5$9
9 9 9 0 0
9 9 9 0 0
9 9 9 0 0
9 9 9 0 0
0 0 0 0 0


What's tricky is figuring out (and implementing) the rules for the
implicit resizing.

In my opinion, the resizing should be factored out as separate
operations so that the user can pick the appropriate mechanism for the
task at hand.

-- 
Raul

On Wed, May 30, 2012 at 1:49 PM, Devon McCormick <devon...@gmail.com> wrote:
> I'm guessing that a 2D version should allow for a different shift per 
> dimension.
>
> On Wed, May 30, 2012 at 1:26 PM, Brian Schott <schott.br...@gmail.com> wrote:
>> Continuing with 1D and allowing for negative shift I have the following
>> Still no 2D version, though.
> ...
> --
> Devon McCormick, CFA
> ^me^ at acm.
> org is my
> preferred e-mail
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to