John Randall wrote:
(a) There is a mysterious extra evaluation. (b) For f^:(n0 n1 n2 n3 ....nn) y, f gets evaluated an additional number of times equal to the maximum of n0,...,nn, regardless of the side effects. I think ^: is really designed for pure functions.
Fraser Jackson commented:
(b) does not accord with my experiments. I always get f evaluated (1+>./n0,n1,n2,.,nn) times when the number of increments to INFO_base_ differs from the value of the power.
On re reading what John wrote it can be interpreted to give the same total number of evaluations as in the expression above. f clearly has to be evaluated maximum of n0,...,nn times, but it is somewhat confusing to refer to them as an additional number of times. Alas communicating clearly is seldom easy.
Fraser
---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
