,/@:(2&({. ,"1 0 }.)"1) temp
0 1 2
0 1 3
0 1 4
5 6 7
5 6 8
5 6 9
Henry Rich
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Alex Rufon
> Sent: Wednesday, October 22, 2008 8:05 AM
> To: [email protected]
> Subject: [Jprogramming] converting to tacit
>
> 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
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm