Thanks, Bob. This let me finish this chapter. It's interesting that there seem to be typos in the pdf as well - see the spurious "ui" near the end of the "Parity of permutations" section, before the expression "#every C.t".
Sent from my Verizon, Samsung Galaxy smartphone -------- Original message --------From: 'robert therriault' via Programming <[email protected]> Date: 7/26/18 10:31 (GMT-05:00) To: [email protected] Subject: Re: [Jprogramming] Missing line in ch.33 of "50 Shades..." Hi Devon, Using this as source: http://www.jsoftware.com/files/fsoj.pdf the missing line is: ag=.agr`agl@.(parity@[) NB. all gaps (right or left) a Cheers, bob > On Jul 26, 2018, at 7:26 AM, Devon McCormick <[email protected]> wrote: > > There is an absent line - defining "ag" in > https://code.jsoftware.com/wiki/Fifty_Shades_of_J/Chapter_33#Minimising_switches_between_adjacent_permutations > - between these two lines: > > Now choose between right and left on the basis of parity : > > > and finally bring everything together in > I will probably be able to figure out the definition of "ag" eventually but > it would be helpful if there were a source to which I could refer to find > missing items like this. > Does anyone have a pointer for this? > > Thanks, > > Devon > > -- > > Devon McCormick, CFA > > Quantitative Consultant > ---------------------------------------------------------------------- > 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
