(10$10)?10

0 1 8 2 6 7 9 4 5 3

8 7 6 9 5 2 0 4 1 3

9 5 0 6 8 1 7 3 2 4

3 9 1 8 5 4 2 6 0 7

0 8 9 2 3 6 7 5 4 1

9 4 6 2 0 5 3 8 1 7

1 9 5 8 2 4 0 7 6 3

5 7 9 6 2 8 3 0 4 1

9 0 6 1 7 8 3 5 2 4

7 4 0 1 2 3 9 8 6 5





    Den tirsdag den 16. april 2019 11.50.57 CEST skrev 'Rob Hodgkinson' via 
Programming <[email protected]>:  
 
 Or for the case of ? you can just do:
  10?10 10 10 10          NB. This is just 4 calls of 10?10 (scalar extension 
on left argument)
9 8 2 1 4 3 6 0 7 5
9 5 0 4 8 7 6 2 3 1
5 9 7 1 8 3 4 0 6 2
4 2 1 9 8 7 3 6 0 5

Power ^: is useful when successive iterations are required (eg Fibonacci, 
Newton Raphson etc) as previous result becomes input for next iteration… not 
what you want here.

HTH, Rob

> On 16 Apr 2019, at 5:37 pm, JmageK <[email protected]> wrote:
> 
> I would do (?~) 4 $ 10
> 
> 
> JmageK
> -- 
> Securely sent with Tutanota
> 
> Apr 16, 2019, 3:01 PM by [email protected]:
> 
>> 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 
>> <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