Roger,
I get a different result for the third J expresstion than Iverson did
in Sample 27. His result for a is a noun, I believe.
]d=: ^ t. i.6
1 1 0.5 0.166667 0.0416667 0.00833333
]c=: (norm=: % {:) d
120 120 60 20 5 1
+. a=: (init=: r.@}.@i.@#) c |a
+. (r.@}.@i.@# (120 120 60 20 5 1 | a))
On Thu, Dec 13, 2012 at 5:28 PM, Roger Hui <[email protected]> wrote:
> Iverson discussed Kerner's method in his Turing
> lecture<http://www.jsoftware.com/papers/tot.htm>(presented 1979;
> published 1980), also Sample Topic 27 in
> *J Introduction and
> Dictionary*<http://www.jsoftware.com/help/dictionary/samp27.htm>
>
>
--
(B=)
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm