On Fri, Nov 2, 2012 at 5:18 AM, Linda Alvord <lindaalv...@verizon.net> wrote:
> Raul, I haven't gotten to t. yet, but I did manage not to use  (f*g)  or  p.
>
>    f=: 1 2 1&p.
>    g=: 1 3 3 1&p.
>    x=: 10%~i=: i.8
>    ]c=: (f*g) t. i        NB. This still has problems
> 1 5 10 10 5 1 0 0

What problems?

   1 2 1 +//.@:(*/) 1 3 3 1
1 5 10 10 5 1

Thanks,

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

Reply via email to