[Jprogramming] Ranks of left and right arguments (continued)

Alex Giannakopoulos aegean at blueyonder.co.uk
Sun Mar 24 17:52:09 UTC 2013


Thanks to everyone who helped me sort out the "rotations" noun using |. " 0
_ ]

Further to this I have the following problem:
I want to make an array of N rows, all starting at arbitrary values, each
being a simple incremental sequence.  So I can do this, for example by
specifying the arbitrary values in the left argument.
  (17 24 35) + i. "0 0] 5 5 5
17 18 19 20 21
24 25 26 27 28
35 36 37 38 39

As you see I have specified the right argument for *each* case, although
this is not really necessary, since it's always the same.
Is there a way to specify it only once?
I thought i. " 0 _ ] might work, but no luck there.


More information about the Programming mailing list