From 68729718fce729bfdca438af1ac26971baf64218 Mon Sep 17 00:00:00 2001 From: Franz Zotter Date: Sat, 28 Nov 2009 12:41:04 +0000 Subject: added abstractions for 3x3 and 2x2 rotation matrices and spherical to cartesian coordinates conversion. [mtx_sph2cart][mtx_cart2sph] [mtx_rot][mtx_rotx][mtx_roty][mtx_rotz][mtx_rotxyz][mtx_rotzyz] svn path=/trunk/externals/iem/iemmatrix/; revision=12812 --- abs/mtx_sph2cart-help.pd | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 abs/mtx_sph2cart-help.pd (limited to 'abs/mtx_sph2cart-help.pd') diff --git a/abs/mtx_sph2cart-help.pd b/abs/mtx_sph2cart-help.pd new file mode 100644 index 0000000..3128d81 --- /dev/null +++ b/abs/mtx_sph2cart-help.pd @@ -0,0 +1,25 @@ +#N canvas 537 0 450 300 10; +#X obj 69 114 mtx 3 1; +#X text 169 70 2 ey; +#X msg 26 49 1 0 1.5708; +#X obj 69 147 mtx_sph2cart; +#X msg 69 71 2 1.5708 1.5708; +#X msg 97 91 3 0 0; +#X text 144 94 3 ez; +#X obj 69 191 mtx_print xyz; +#X text 19 11 converting spherical to carteisan coordinates; +#X text 264 202 Franz Zotter \, 2009; +#X text 99 49 1 ex; +#X text 219 62 input matrices have the shape 3xL; +#X text 221 76 and may contain L points; +#X text 219 93 [ r \; phi \; theta ]; +#X text 215 143 r... radius; +#X text 215 156 phi... azimuth angle; +#X text 215 169 theta.. zenith angle; +#X text 239 243 see also; +#X obj 298 243 mtx_cart2sph; +#X connect 0 0 3 0; +#X connect 2 0 0 0; +#X connect 3 0 7 0; +#X connect 4 0 0 0; +#X connect 5 0 0 0; -- cgit v1.2.1