isecn/ y inserts verb isecn between the items of y
Consider
|: e ,. pi NB. items are e and pi
2 7 1 8 2 8 1 8 3
3 1 4 1 5 9 2 6 5
isecn/ |: e ,. pi
1 2 3
On 5/31/2012 9:48 AM, Graham Parkhouse wrote:
> Can anyone help me to understand where I am going wrong?
>
> 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
> e isecn pi
> 1 2 3
> pi isecn e
> 1 2 3
> isecn/ e,:pi
> 1 2 3
> 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?
>
> Regards
>
> Graham
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm