Yes - that's it.  I was misled by the "Tompkins-Paige ordering" referred to
in the essay and I didn't notice the "?" in the definition.  I was thinking
this was an unambiguous ordering of the permutation vectors.
Should I change the essay to use "?." or include a note about why the
result someone sees from running this code may not match what is presented?

On Sun, Jul 22, 2018 at 6:01 PM Brian Schott <[email protected]> wrote:

> Devon,
> rlist uses ? which produces different random values.
> I think ?. may produce identical random values in different Js.
>
> On Sun, Jul 22, 2018 at 5:21 PM, Devon McCormick <[email protected]>
> wrote:
>
> >    rlist=: TPlist { ?@! { Llist
> >    TPlist=: 3 : 0
> > if.y>1 do.
> >   r=: ,/(i.y)|."1 every<(TPlist<:y),.<:y
> > else. r=: 1 $0 end.
> > )
> >    Llist=: i.@! A. i.
> >
> > Where "every" is "&>".
> >
> >
> >
> --
> (B=) <-----my sig
> Brian Schott
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm



-- 

Devon McCormick, CFA

Quantitative Consultant
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to