Randy A MacDonald  wrote:
> If only we could change the fill element with a hook into
!.(Custom)...
>    a expand!._1 b
> 1 2 _1 3 _1 4

Using the definition of expand which comes with J:

   a=: 1 1 0 1 0 1
   b=: 1 2 3 4
   a expand f.!._1 b
1 2 _1 3 _1 4

-- 
Raul

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to