This was my table3 in some earlier responses. Read my correspondence with Kip Murray.
Linda -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Brian Schott Sent: Sunday, November 20, 2011 11:08 AM To: Programming forum Subject: Re: [Jprogramming] table challenge in simple J Linda, I can see no problem with Raul's "Simple J" solution below. Have you acknowledged or refuted it? I especially like that the columns all line up in this solution, but the columns do not line up in some of the other simple j solutions. a ([ by ] over +/) f. b +---+-------------------+ | | 0 1 2 3 4| +---+-------------------+ | 2| 2 3 4 5 6| | 3| 3 4 5 6 7| | 5| 5 6 7 8 9| |100|100 101 102 103 104| +---+-------------------+ ([ by ] over +/) f. [ ((' ' ; ([: ,. [)) ,. ]) (] ([: ({. ; }.) ([: ": ,)) (+/)) On Mon, Nov 14, 2011 at 12:00 PM, Raul Miller <[email protected]> wrote: > Brian Schott reminds me that I should have tested. > > Make that: > a ([ by ] over +/) f. b > > [ by ] cannot be simplified, here, because ] supplies the argument to over. > > -- > Raul > -- (B=) ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
