Personally, I think that when comparing the two sets
you could always use i.n to represent one of them.

For example, if you have
   P1=: i. 8
   P2=: ?~8

Clearly, P2 is in a random order.  However, if you
shift domains
   p1=: P1 /: P2
   p2=: P2 /: P2
we see that p1 is also in a random order.

In any event:

   [EMAIL PROTECTED]@(+/ % #)@(i. ="1 (A.&i.~ !))"0 i. 5
0
1
2
3
4

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

Reply via email to