((2 {."1 ] #~ [: (#"1) 2 }."1 ]) ,. [: , 2 }."1 ])  i. 2 5

2008/10/22 Alex Rufon <[EMAIL PROTECTED]>

> Hi.
>
>
>
> I'm back at work after taking a week rest due after crashing my scooter
> into a jeep. I'm fine but my scooter isn't. Huhuhu.
>
>
>
> Ok, I was doing something like this just this afternoon:
>
>   [temp=. i. 2 5
>
> 0 1 2 3 4
>
> 5 6 7 8 9
>
>   [csump=. 2 }. "1 temp
>
> 2 3 4
>
> 7 8 9
>
>   [dper=. 2 {. "1 temp #~ # "1 csump
>
> 0 1
>
> 0 1
>
> 0 1
>
> 5 6
>
> 5 6
>
> 5 6
>
>      dper,.,csump
>
> 0 1 2
>
> 0 1 3
>
> 0 1 4
>
> 5 6 7
>
> 5 6 8
>
> 5 6 9
>
>
>
> So what I wanted to do was go from:
>
> 0 1 2 3 4
>
> 5 6 7 8 9
>
> To
>
> 0 1 2
>
> 0 1 3
>
> 0 1 4
>
> 5 6 7
>
> 5 6 8
>
> 5 6 9
>
>
>
> So how would you convert this to a one line or tacit definition?
>
>
>
> Seriously, I can't make my brains do it. I may have hit the road with it
> too hard. Hehehehehe.
>
>
>
> Thanks.
>
>
>
> r/Alex
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>



-- 
Björn Helgason, Verkfræðingur
Fugl&Fiskur ehf,
Þerneyjarsundi 23, Hraunborgum
Po Box 127,801 Selfoss ,
t-póst: [EMAIL PROTECTED]
gsm: +3546985532
Landslags og skrúðgarðagerð, gröfuþjónusta
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