Bravo.
Henry Rich
On 1/6/2018 8:26 PM, Jimmy Gauvin wrote:
This might be easier on the eyes:
vc=:_2 */\ 1 2 1 1 2 o. 5 $ o.
vc 1.25,_0.55
0.110616 0.698401 _0.707107
On Sat, Jan 6, 2018 at 7:05 PM, Henry Rich wrote:
Not really any better, but you might enjoy playing with it:
vec
vec3=: [: ((* {.)~ , {:@[)/ 2 1 o.~/~ ]
In the end though the most readable is probably Bo’s. No distracting array
tricks.
Louis
> On 7 Jan 2018, at 02:26, Jimmy Gauvin wrote:
>
> This might be easier on the eyes:
>
> vc=:_2 */\ 1 2 1 1 2 o. 5 $ o.
>
> vc 1.25,_0.55
> 0.110616 0.698401
This might be easier on the eyes:
vc=:_2 */\ 1 2 1 1 2 o. 5 $ o.
vc 1.25,_0.55
0.110616 0.698401 _0.707107
On Sat, Jan 6, 2018 at 7:05 PM, Henry Rich wrote:
> Not really any better, but you might enjoy playing with it:
>
> vec2 =: ((+.@:(* {:) , {.@]) +.)~/@:(^@:j.)
>
> Henry Rich
>
>
>
Not really any better, but you might enjoy playing with it:
vec2 =: ((+.@:(* {:) , {.@]) +.)~/@:(^@:j.)
Henry Rich
On 1/6/2018 5:07 PM, Jerry wrote:
I am a relative newbie and am trying to teach myself the intricacies
by addressing a simple problem: some geometric operations on the
surface of
One rephrasing would be:
vec=: (1 2 */@:o. ]) , (1 */@:o. ]) , 2 o. }:
This carries what I think is a rational assumption (that the argument
will always have two items).
Sadly, there's no argument to o. which gives a constant 1 result for
the expected arguments or this could be simplified qui
Tiny simplification:
vec=:((1 o.{.)*2 1 o.{:),2 o.{. vec o.1.25 _0.55
0.110616 0.698401 _0.707107
Den 23:07 lørdag den 6. januar 2018 skrev Jerry
:
I am a relative newbie and am trying to teach myself the intricacies by
addressing a simple problem: some geometric operations on
I am a relative newbie and am trying to teach myself the intricacies by
addressing a simple problem: some geometric operations on the surface of
a unit sphere. The first step is to take latitude and longitude angles
and create a Cartesian vector pointing from the center of the sphere to
that p
You're very welcome, Roger.
Yeah… only discovered it myself recently – although J602 had comparable
facilities.
Window Driver, aka JWD or wd, repays an evening's study. The first page to
consult is here:
http://www.jsoftware.com/jwiki/Guides/Window%20Driver/Command%20Reference
…all the rest c
Ian,
Many thanks for that very valuable information
Regards
On Sat, Jan 6, 2018 at 6:31 AM, Ian Clark wrote:
> In jqt you can take control of the term window, fetch its current contents,
> cut them back and rewrite the term window.
> Likewise other windows in the jqt IDE.
>
> This link is a r