Nice!

Beats my usual  constructs for up and down sequences:

   }:4-|i:3
1 2 3 4 3 2

or

   }:(<.|.)>:i.7
1 2 3 4 3 2


R.E. Boss

(Add your info to http://www.jsoftware.com/jwiki/Community/Demographics )



> -----Original Message-----
> From: [email protected] [mailto:programming-
> [email protected]] On Behalf Of Marshall Lochbaum
> Sent: maandag 30 juni 2014 17:06
> To: [email protected]
> Subject: Re: [Jprogramming] Finger tapping
> 
> How about this one?
> 
>    }:#/.=i. 4
> 1 2 3 4 3 2
> 
> Marshall
> 
> On Mon, Jun 30, 2014 at 10:26:50AM -0400, Henry Rich wrote:
> > 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
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to