Yes. Of course. I have to remember to recheck my posts before pressing
"send"
On Jan 11, 2016 12:14 PM, "Raul Miller" <[email protected]> wrote:

> Isn't that a random permutation index of a vector of length (!n) ?
>
> Thanks,
>
> --
> Raul
>
>
> On Mon, Jan 11, 2016 at 1:02 PM, Skip Cave <[email protected]>
> wrote:
> > I was showing that a random permutation index of a vector of length n is:
> >
> > ?~!n
> >
> > However this isn't what Eddie was asking.
> >
> > Skip Cave
> >
> >
> >
> > On Mon, Jan 11, 2016 at 10:22 AM, Skip Cave <[email protected]>
> wrote:
> >> Sorry,
> >>
> >> I misunderstood the question.
> >>
> >> Skip Cave
> >>
> >>
> >>
> >> On Mon, Jan 11, 2016 at 9:55 AM, Roger Hui <[email protected]>
> wrote:
> >>> How is this relevant?  I am proposing to use ?!21x, not ?~!21x .
> >>>
> >>>
> >>> On Mon, Jan 11, 2016 at 7:46 AM, Skip Cave <[email protected]>
> wrote:
> >>>
> >>>> To simplify the code for a permutation index:
> >>>>
> >>>>     ?~!3
> >>>> 5 0 3 2 1 4
> >>>>
> >>>>    #?~!10
> >>>> 3628800
> >>>>
> >>>> #?~!15    NB. Too many numbers.
> >>>> |out of memory
> >>>> | # ?~!15
> >>>>
> >>>> Skip Cave
> >>>> Cave Consulting LLC
> >>>>
> >>>>
> >>>> On Mon, Jan 11, 2016 at 9:17 AM, Roger Hui <[email protected]
> >
> >>>> wrote:
> >>>> > Use extended precision integers.
> >>>> >
> >>>> >    ? !21
> >>>> > |domain error
> >>>> > |       ?!21
> >>>> >
> >>>> >    ? !21x
> >>>> > 36282724980122910689
> >>>> >
> >>>> >
> >>>> >
> >>>> >
> >>>> > On Mon, Jan 11, 2016 at 2:22 AM, Eddie Bracho <[email protected]>
> wrote:
> >>>> >
> >>>> >>
> >>>> >>     (? ! 21)
> >>>> >>
> >>>> >> |domain error
> >>>> >>
> >>>> >> | ( ?!21)
> >>>> >>
> >>>> >>
> >>>> >>
> >>>> >> Is this intended behavior? I'm trying to shuffle an array by
> providing a
> >>>> >> random permutation to Anagram (A.), but this limitation does not
> allow
> >>>> me
> >>>> >> to shuffle arrays with more than 20 elements.
> >>>> >>
> >>>> >>
> ----------------------------------------------------------------------
> >>>> >> 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
> >>> ----------------------------------------------------------------------
> >>> 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
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to