[Jprogramming] rank trouble
Graham Parkhouse
graham.parkhouse at ntlworld.com
Fri Jun 1 06:55:56 HKT 2012
Thank you everybody! I was just thinking that, using "1, I was just swapping
rows for columns - sloppy thinking; transpose is indeed necessary!
Using [ and ] as test functions on structure is very helpful, like using <
to demonstrate partitioning conjunctions.
Regards
Graham
On Thu, May 31, 2012 at 10:48 AM, Graham Parkhouse
<graham.parkhouse at 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?
More information about the Programming
mailing list