(17 24 35+/i.5)-:3(([+]+[+[)+(([,([*[),[+]+]+]+[%[)+[:i.[)+[:|:[#"0[:i.])5
1

2013/3/24 Ric Sherlock <[email protected]>

> Table (Dyadic insert) can also be useful here:
>
> 17 24 35 +/ i.  5
>
> On Mon, Mar 25, 2013 at 6:57 AM, Henry Rich <[email protected]> wrote:
> >    17 24 35 (+ i.)"0 (5)
> >
> > 17 18 19 20 21
> > 24 25 26 27 28
> > 35 36 37 38 39
> >
> >    17 24 35 +"0 1 i. 5
> >
> > 17 18 19 20 21
> > 24 25 26 27 28
> > 35 36 37 38 39
> >
> > Henry Rich
> >
> >
> > On 3/24/2013 1:52 PM, Alex Giannakopoulos wrote:
> >>
> >> 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.
> >> ----------------------------------------------------------------------
> >> 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
>



-- 
Björn Helgason, Verkfræðingur
Fornustekkum II
781 Hornafirði,
t-póst: [email protected]
gsm: +3546985532
twitter: @flugfiskur
http://groups.google.com/group/J-Programming


Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari einfaldleikans

góður kennari getur stigið á tær án þess að glansinn fari af skónum
          /|_      .-----------------------------------.
         ,'  .\  /  | Með léttri lund verður        |
     ,--'    _,'   | Dagurinn í dag                     |
    /       /       | Enn betri en gærdagurinn  |
   (   -.  |        `-----------------------------------'
   |     ) |         (\_ _/)
  (`-.  '--.)       (='.'=)   ♖♘♗♕♔♙
   `. )----'        (")_(") ☃☠
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to