lun, 25 Jan 2010, Raul Miller skribis:
> On Mon, Jan 25, 2010 at 10:10 AM, Alex Rufon <[email protected]> 
> wrote:
> > What I'm trying to find is which rows in a matches b.
> 
>    a=: i.5 3
>    b=: 3+i.2 3
>    b i. a
> 2 0 1 2 2
>    a {...@e."1/ b
> 0 0
> 1 0
> 0 1
> 0 0
> 0 0

may be
   b  E. &: (<"1) a
   0 1 0 0 0

-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to