I suspected it won't work on jconsole either since it is related
to J Engine not the front end.


Thu, 01 Nov 2018, Don Guinn написал(а):
> Years ago I got curious about quaternions. After playing with them for a
> while and found it awkward I wrote a script to run quaterrnions using J
> primitives. The main problem is that it requires J6 to work right, I think.
> The problem is that it does not work with JQt, I think. I just tried it on
> J6 and it still works. Below is a short sample.
> 
>    load 'd:\don\juser\q3\quaternion.ijs'
> quatutil
> quatmath
> quatint
> quatjtools
> quatjdefs
>    Q ''
> Entering Quaternion Mode
>    ]q=.*/~0i1 0j1 0k1
>   _1  0k1 0j_1
> 0k_1   _1  0i1
>  0j1 0i_1   _1
> 
> Leaving Quaternion Mode
>    Q ''
> Entering Quaternion Mode
>    ]q=.*/~0i1 0j1 0k1
>   _1  0k1 0j_1
> 0k_1   _1  0i1
>  0j1 0i_1   _1
>    q
>   _1  0k1 0j_1
> 0k_1   _1  0i1
>  0j1 0i_1   _1
> 
> Leaving Quaternion Mode
>    q
> ┌────────┬────────┬────────┐
> │_1 0 0 0│0 0 0 1 │0 0 _1 0│
> ├────────┼────────┼────────┤
> │0 0 0 _1│_1 0 0 0│0 1 0 0 │
> ├────────┼────────┼────────┤
> │0 0 1 0 │0 _1 0 0│_1 0 0 0│
> └────────┴────────┴────────┘
>    Q ''
> Entering Quaternion Mode
>    2i1j3^3j2k1
> 7.07923i_1.03091j_2.79868k_1.0557
> 
> Leaving Quaternion Mode
> 
> 
> At the time I never found anyone to talk about quaternions. So I moved on
> to other things. If anyone is interested in it I would be glad to share.
> 
> >
> >
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm

-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
gpg --keyserver subkeys.pgp.net --armor --export 4434BAB3
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to