On Thu, May 31, 2012 at 10:48 AM, Graham Parkhouse
<graham.parkho...@ntlworld.com> wrote:
>   e=: 2 7 1 8 2 8 1 8 3
>   pi=: 3 1 4 1 5 9 2 6 5
>   isecn=: ([: /:~ [: ~. e. # [)"1     NB. Intersection of the two sets
...
>   isecn/"1 e,.pi
>
>
>
>
>
>
>
>
> This last sentence give me 9 blank lines. I expected and wanted 1 2 3. Is my
> view of rank and frames too simplistic?

e,.pi gives you 9 lines

isecsn/"1 gives you the result of isecsn on each of those lines.

Your isecn/ e,:pi already gives you the result you want.

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

Reply via email to