Henry’s pointed out that 13 : ... has bugs. It’s very useful for quick tacitisation, but it’s always advisable to check the resulting verb.
Mike Sent from my iPad > On 15 Mar 2021, at 12:00, 'Bo Jacoby' via Programming > <[email protected]> wrote: > > Hi Bob > Thank you very much! > Bo. > > Den søndag den 14. marts 2021 20.52.23 CET skrev 'robert therriault' via > Programming <[email protected]>: > > 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 > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
