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

Reply via email to