?~@10^:(>:@i.) 4

6 3 9 1 0 4 5 8 7 2

2 4 7 8 3 0 1 5 9 6

6 9 5 7 1 4 8 2 0 3

9 8 6 4 5 2 7 0 3 1




On Tue, Apr 16, 2019 at 8:55 AM David Lambert <[email protected]> wrote:

>
>     ([: }. ([: ?~ 10"_)^:(<1 2 p. 2)) ''
> 3 8 5 0 9 7 2 1 4 6
> 1 5 6 9 7 2 0 4 3 8
> 1 5 8 2 4 0 3 9 7 6
> 4 0 6 7 1 8 3 9 2 5
>
>
> please note that I still haven't fixed my four and five keys.
>
> > Date: Tue, 16 Apr 2019 04:31:06 -0500
> > From: "'Skip Cave' via Programming"<[email protected]>
> > To:"[email protected]" <[email protected]>
> > Subject: [Jprogramming] Power Iteration
> > Message-ID:
> > <CAJ8Lg_fuHM2ai69yixNvBm2n5SmkDukEDX=ay52sezvb5ng...@mail.gmail.com>
> > Content-Type: text/plain; charset="UTF-8"
> >
> > How can I use the power primitive ^: to execute 10?10 four times?
> > I want something like this:
> >
> > (10?10)^: 4
> >
> > 8 0 9 6 5 7 4 3 1 2
> >
> > 5 3 1 8 0 9 7 6 2 4
> >
> > 1 4 6 0 2 5 8 9 3 7
> >
> > 1 9 7 2 0 8 3 4 5 6
> >
> >
> >
> > Skip
> ----------------------------------------------------------------------
> 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