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

Reply via email to