ts is % :2 as in the ori
> > ginal points .
> >
> >
> >
> > My earlier posted rotheta was m eant to give input and output in (x,y)
> > form and didn't work for this example.
> > I realize why you de alt with 3 points although t his wa sn't needed.
>
n J , also ask s for forgiveness
Don
- Original Message -
From: "Kip Murray"
To: programm...@jsoftware.com
Sent: Saturday, March 12, 2016 6:37:28 AM
Subject: Re: [Jprogramming] A plane rotation
What you are doing is very nice.
I call mine a point direction ap
Don
>
> - Original Message -
>
> From: "Kip Murray" >
> To: programm...@jsoftware.com
> Sent: Wednesday, March 9, 2016 8:26:09 PM
> Subject: Re: [Jprogramming] A plane rotation
>
> Verbs ff , gg , and (gg mab) below represent straight lines. If one of
ip Murray"
To: programm...@jsoftware.com
Sent: Wednesday, March 9, 2016 8:26:09 PM
Subject: Re: [Jprogramming] A plane rotation
Verbs ff , gg , and (gg mab) below represent straight lines. If one of
them is evaluated at a real number t the result is a point on the
represented line. I cal
016 at 11:50 PM, Kip Murray >>>>
>>>>
>>>
>>>> > wrote:
>>>>>
>>>>>> I'm retired with time to "fool around". Finding an old rot90 verb
>>>>>> that
>>>>>> use
o a former math professor!
On Tuesday, February 16, 2016, David Lambert
> wrote:
what's your agenda, are you writing a book? Isn't there a homogeneous
coordinate system/transformation lab?
On 02/16/2016 06:16 PM, programming-requ...@forums.jsoftware.com
wrote:
Date: Tue, 16 Feb
David Lambert wrote:
what's your agenda, are you writing a book? Isn't there a homogeneous
coordinate system/transformation lab?
On 02/16/2016 06:16 PM, programming-requ...@forums.jsoftware.com wrote:
Date: Tue, 16 Feb 2016 15:18:43 -0600
From: Kip Murray
To:"programm...@jsoftw
>>> New puzzle: find a complex analysis way to do a rotation given its
> angle
> >> in
> >>> radians, examples:
> >>>
> >>>1r2p1 rottheta 3 4
> >>> _4 3
> >>>
> >>>1r4p1 rottheta _1 1
> &
but I can't remember what I need to search
>>>>>>>> on to find it, and my foggy memory of how to write it is failing me
>>> at
>>>>>>>> the moment.
>>>>>>>>
>>>>>>>> Still, this gets you cl
gt; >> >>>
>> >> >>> Still, this gets you close.
>> >> >>>
>> >> >>> --
>> >> >>> Raul
>> >> >>>
>> >> >>>
>> >> >>> On Tue, Feb 16, 2016 at 11:50 PM,
-0600
From: Kip Murray
To:"programm...@jsoftware.com"
Subject: Re: [Jprogramming] A plane rotation
Message-ID:
Content-Type: text/plain; charset=UTF-8
In your example, 0 1 is the polynomial coefficients for the straight line
being rotated. In usual math notation this is the line
t;
> thekipmur...@gmail.com
> >>
> >> >>> > wrote:
> >> >>>> I'm retired with time to "fool around". Finding an old rot90 verb
> >> that
> >> >>>> used multiplication by a
; >>>> complex numbers and found one of the solutions that was posted. I
>> also
>> >>>> learned a lot from the other solutions posted, thanks everyone!
>> >>>>
>> >>>> New puzzle: find a complex analysis way to do a rotation gi
t; >>> in
> >>>> radians, examples:
> >>>>
> >>>>1r2p1 rottheta 3 4
> >>>> _4 3
> >>>>
> >>>>1r4p1 rottheta _1 1
> >>>> _1.414213562 0
> >>>>
> >>>> --Kip
&
ven its angle
>>> in
>>>> radians, examples:
>>>>
>>>>1r2p1 rottheta 3 4
>>>> _4 3
>>>>
>>>>1r4p1 rottheta _1 1
>>>> _1.414213562 0
>>>>
>>
gt;> _1.414213562 0
>>>
>>> --Kip
>>>
>>> I'm also a former math professor!
>>>
>>> On Tuesday, February 16, 2016, David Lambert > > wrote:
>>>
>>>>
>>
;s your agenda, are you writing a book? Isn't there a homogeneous
> >> coordinate system/transformation lab?
> >>
> >>>
> >>> On 02/16/2016 06:16 PM, programming-requ...@forums.jsoftware.com
> wrote:
> >>>
> >>>> Date:
nate system/transformation lab?
>>
>>>
>>> On 02/16/2016 06:16 PM, programming-requ...@forums.jsoftware.com wrote:
>>>
>>>> Date: Tue, 16 Feb 2016 15:18:43 -0600
>>>> From: Kip Murray
>>>> To:"programm...@jsoftware.com"
, are you writing a book? Isn't there a homogeneous
> coordinate system/transformation lab?
>
>>
>> On 02/16/2016 06:16 PM, programming-requ...@forums.jsoftware.com wrote:
>>
>>> Date: Tue, 16 Feb 2016 15:18:43 -0600
>>> From: Kip Murray
>>> T
what's your agenda, are you writing a book? Isn't there a homogeneous
coordinate system/transformation lab?
On 02/16/2016 06:16 PM, programming-requ...@forums.jsoftware.com wrote:
Date: Tue, 16 Feb 2016 15:18:43 -0600
From: Kip Murray
To:"programm...@jsoftware.com"
Subje
rot =: +.@((* j./)~ *)~
Using Raul's approach, this is
rot =: (**)~&.(+.inv)
Henry Rich
On 2/16/2016 6:09 PM, Raul Miller wrote:
Ah, yes, as Michal's implementation shows, there is a more concise approach.
Mine becomes:
rot=: (% |)~&.(+.inv)
Thanks,
---
Ah, yes, as Michal's implementation shows, there is a more concise approach.
Mine becomes:
rot=: (% |)~&.(+.inv)
Thanks,
--
Raul
On Tue, Feb 16, 2016 at 6:07 PM, Raul Miller wrote:
> I guess I'd do that like this:
>
>rot=: (* (% |))~&.(+.inv)
>
> There might be more concise ways of d
I guess I'd do that like this:
rot=: (* (% |))~&.(+.inv)
There might be more concise ways of doing this though.
--
Raul
On Tue, Feb 16, 2016 at 4:18 PM, Kip Murray wrote:
> Fairly easy: write a verb that rotates a point in the plane by the angle of
> a given complex number. For example
>
rot =: [: +. (%|)@[ * j./@]
On Tue, Feb 16, 2016 at 4:12 PM, Kip Murray wrote:
> Another example
>
> 0j2 rot 3 4
> _4 3
>
> This rotates 3 4 by 90 degrees, counterclockwise.
>
> --Kip
>
>
> On Tuesday, February 16, 2016, Kip Murray wrote:
>
> > Fairly easy: write a verb that rotates a poin
Another example
0j2 rot 3 4
_4 3
This rotates 3 4 by 90 degrees, counterclockwise.
--Kip
On Tuesday, February 16, 2016, Kip Murray wrote:
> Fairly easy: write a verb that rotates a point in the plane by the angle
> of a given complex number. For example
>
> 1j1 rot 1 1 NB. Rotate
Fairly easy: write a verb that rotates a point in the plane by the angle of
a given complex number. For example
1j1 rot 1 1 NB. Rotate 1 1 counterclockwise 45 degrees
0 1.414213562
Background information: when you multiply two complex numbers the
magnitudes are multiplied and the angles a
26 matches
Mail list logo