Thanks Marshall. You proved that I am too stupid for J. Have a nice day!
Den 16:26 mandag den 30. juni 2014 skrev Henry Rich <[email protected]>: > > >Also > > (,#\.)@i.&.<: 4 >1 2 3 4 3 2 > >Henry Rich > >On 6/30/2014 10:11 AM, Marshall Lochbaum wrote: >> People have addressed the reshaping part of this, but a rather nice way >> to generate the base sequence is: >> >> ((],-)i.)&.<: 4 >> 1 2 3 4 3 2 >> ((],-)i.)&.<: 8 >> 1 2 3 4 5 6 7 8 7 6 5 4 3 2 >> >> Marshall >> >> On Fri, Jun 27, 2014 at 12:18:09AM -0500, Kip Murray wrote: >>> Hold up your right hand with its back toward you and number the forefinger >>> through little finger 1 through 4. (I suppose the thumb has index 0.) Now >>> try finger tapping this pattern: >>> >>> 1 2 3 4 >>> 3 2 1 2 >>> 3 4 3 2 >>> 1 2 3 4 >>> 3 2 1 2 >>> 3 4 3 2 >>> >>> Write a J expression to produce this pattern. >>> >>> --Kip Murray >>> >>> >>> -- >>> Sent from Gmail Mobile >>> ---------------------------------------------------------------------- >>> 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 > > > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
