Wow! Two completely different ways to generate multiple sets of random
integers. Roger used &. which I haven't really ever used or understood. I
will definitely need to understand &. for the future. Devon used @, which I
also haven't used very much. I need to find some practice and  training
examples to work on both concepts.

Skip Cave
Cave Consulting LLC


On Fri, Mar 13, 2020 at 12:04 AM Devon McCormick <devon...@gmail.com> wrote:

>    6 5?@$55
> Will give you a 6x5 table that is 6 independent rows of 5?55.
>
>
> On Fri, Mar 13, 2020 at 12:52 AM Roger Hui <rogerhui.can...@gmail.com>
> wrote:
>
> >    6 ?&.> 5 $ 55
> >
> >
> ┌────────────────┬─────────────────┬───────────────┬─────────────────┬───────────────┐
> > │47 28 45 25 8 36│22 40 23 20 11 49│15 16 42 38 4 5│50 45 38 37 13 28│42
> 4
> > 36 7 23 49│
> >
> >
> └────────────────┴─────────────────┴───────────────┴─────────────────┴───────────────┘
> >
> >    6 ?&.> 50 $ 55
> > ...
> >
> >
> > On Thu, Mar 12, 2020 at 9:49 PM Skip Cave <s...@caveconsulting.com>
> wrote:
> >
> > > How can I generate the following result extended 50 times, without
> > explicit
> > > looping?
> > >
> > > (6?55);(6?55);(6?55);(6?55);(6?55)
> > >
> > >
> > >
> >
> ┌───────────────┬───────────────┬─────────────────┬─────────────────┬───────────────┐
> > >
> > > │13 4 19 43 3 52│10 1 4 46 52 11│38 12 48 50 54 45│36 54 39 35 53 50│44
> > 1 7
> > > 54 11 41│
> > >
> > >
> > >
> >
> └───────────────┴───────────────┴─────────────────┴─────────────────┴───────────────┘
> > >
> > >
> > >
> > > Skip Cave
> > > Cave Consulting LLC
> > > ----------------------------------------------------------------------
> > > For information about J forums see http://www.jsoftware.com/forums.htm
> > >
> > ----------------------------------------------------------------------
> > 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
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to