[Jprogramming] removing duplicate f from "f@g u f@h"

Miller, Raul D rdmiller at usatoday.com
Wed Feb 8 04:18:19 HKT 2006


Dan Bron wrote:
> If rank is an issue:
>    u&:f 

Consider:
   f=: #
   g=: >
   h=: ,
   u=: +
   (f at g u f at h) i. 10
11 11 11 11 11 11 11 11 11 11
   (g u&:f h)  i. 10
20
   (g u&f h)  i. 10
20
   (g u&f"0 1 h) i. 10
11 11 11 11 11 11 11 11 11 11



-- 
Raul


More information about the Programming mailing list