No.

But
   shift=: }. {.~  (_1 ^ 0 > [) * #@[ {. $@]
would do the job.

-- 
Raul

On Thu, Nov 17, 2011 at 3:58 PM, Henry Rich <[email protected]> wrote:

> So   {.!.v   would do what you want.
>
> Would also be nice if fill could be a non-atomic array.
>
> Henry Rich
>
> On 11/17/2011 3:52 PM, Raul Miller wrote:
> > shift=: 4 :0
> >    fill=. {.0#,y
> >    x |.!.fill y
> > )
> >
> > For example: 2 shift i.5 5
> >
> >
> ----------------------------------------------------------------------
> 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