2nd example,

-&# keyD~ 1 2 3 1 3 2 1
4 5 5

dyadic & here.  keyD called with ~ so x and y are the same.  u is -&# . the x 
to u is y of the whole function.

(# x) - # y.  7 constant to each call for x, and the count of each key is 3 2 2


----- Original Message -----
From: Brian Schott <[email protected]>
To: Programming forum <[email protected]>
Sent: Friday, January 13, 2017 11:14 PM
Subject: Re: [Jprogramming] dyadic key

Pascal,

I don't understand your second example at all. I finally understand the
first example after  noticing the following result, I realize the result of
keyD produces the indices of adg,bf,ce in abcdefg.

   1 2 3 1 3 2 1 </. 'abcdefg'
+---+--+--+
|adg|bf|ce|
+---+--+--+

But  what is going on in the second example.

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

Reply via email to