The pattern is more apparent with 0.5*i.4 or -:i.4 than with 0 0.5 1 1.5, and leads more readily to 0.5*i.2 4, -:i.10 4, etc.
On Tue, Dec 6, 2011 at 1:35 PM, Linda Alvord <lindaalv...@verizon.net>wrote: > Start with 4 points on the x-axis of a real plane each 0.5 units apart > going > to the right and multiply by 0j1 : > > j. d=:0 0.5 1 1.5 > 0 0j0.5 0j1 0j1.5 > > The result is a set of points on a circle with r of 0.5 and center at (0.5 > 0) in an imaginary plane drawn from (0 0) going clockwise. > > Multiply by o. and you get: > > o.j. d=:0 0.5 1 1.5 > 0 0j1.5708 0j3.14159 0j4.71239 > > a set of 4 points in a line going up the y axis of an imaginary plane > spaced o.%2 or 1.5708 units apart. > > > Try: > > (o.^:1 2 3 4)(j.^:1 2 3 4) d=:0 0.5 1 1.5 > > But I digress. I'm going back to ponder [: @ @: in your message. > > Linda. > > -----Original Message----- > From: programming-boun...@jsoftware.com > [mailto:programming-boun...@jsoftware.com] On Behalf Of Kip Murray > Sent: Tuesday, December 06, 2011 1:09 PM > To: Programming forum > Subject: Re: [Jprogramming] Turkey Roll - Challenge 2 > > NB. Roger is justly proud of > > ^@o.@j. 1 NB. e ^ pi * i is _1 > _1 > > 0 = 1 + ^@o.@j. 1 NB. Euler's 0 = 1 + e ^ pi * i five constants > 1 > > ^ o. j. 1 NB. Approximates _1 > _1j1.22465e_16 > > NB. special code for ^@o.@j. > > On 12/6/2011 3:08 AM, Roger Hui wrote: > > ^@o.@j. 0 0.5 1 1.5 > > 1 0j1 _1 0j_1 > > > > ^@o.@j. 0.5 * i.5 4 > > 1 0j1 _1 0j_1 > > 1 0j1 _1 0j_1 > > 1 0j1 _1 0j_1 > > 1 0j1 _1 0j_1 > > 1 0j1 _1 0j_1 > > > > ^@o.@j. 1e9 + 0.5 * i.5 4 > > 1 0j1 _1 0j_1 > > 1 0j1 _1 0j_1 > > 1 0j1 _1 0j_1 > > 1 0j1 _1 0j_1 > > 1 0j1 _1 0j_1 > > > > 2011/12/6 Linda Alvord<lindaalv...@verizon.net> > > > >> Can you make a simple example that looks like this u@v@w ? Please > use > ... > ---------------------------------------------------------------------- > 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