Hi Bo, By hand I came up with
h=. (i ^ [: - [) * (i=.i.9) !~ ] 6 h 4 0 0 0 0 0.000244141 0.00032 0.000321502 0.000297495 0.000267029 which works, but I prefer to separate out the constant under the separate name of int, to make the N V V a bit more clear in the dyadic forks int=. i. 9 h1=. (int ^ [: - [) * int !~ ] 6 h1 4 0 0 0 0 0.000244141 0.00032 0.000321502 0.000297495 0.000267029 Long story short, for me 13 : is useful, but it is not always correct and I find that in going from explicit to tacit manually, I learn a lot more about the structure of the verb than if I just apply 13 : Cheers, bob > On Mar 14, 2021, at 11:11, 'Bo Jacoby' via Programming > <[email protected]> wrote: > > f=. 4 : '(i^-x)*y!i=.i.9' NB. some program ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
