stargen@:(10 20"_)^:(<8)''  NB. perhaps you need ^: ?
0 0  0 0
1 6  5 1
1 4 11 1
0 7  4 1
0 1  9 1
1 7  6 1
0 7 13 1
0 6 19 1

|Date: Thu, 24 Dec 2020 10:47:47 +0000
|From: emacstheviking <[email protected]>
|To: [email protected]
|Subject: [Jprogramming] Calling a function N times
|Message-ID:
|        <CAEiEuULrW-_f=SQwZUibx7n9=yh5n8xx4qkydcx-cdgvzfm...@mail.gmail.com
>
|Content-Type: text/plain; charset="UTF-8"
|
|I have a simple verb that returns a list of randomised numbers
|
|stargen=: monad define
|'maxx maxy'=.y
|(?2),(?maxx),(?maxy), 1
|)
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to