-
... + invTrans[1].neg, invRot[2] ++ invTrans[2].neg, [0,0,0, 1] ]; }); } ////////// transformPoint2Ground {|point| point = point ++ 1; // make sure homogeneMatAcc2Ground contains a valid transformation matrix this.homogeneMatAcc2Ground; ^[ (poi ...
-
... g('/chain', 8, 2, 2000, [\xxy, \zzz].choose.postln); /// possible extensions: * transform values that are passed along * send on as fast as possible -> network latency / jitter sonification q.chain[\dt] = 0.01; r.addrs.choose.sendMsg('/chai ...
-
... renderAndDisplayImage; ) drawpath ( path ) beginclip ( path ) endclip ( write ) Transform transform ( mode ) - set registration point for offset, scale, and/or skew to "CENTER" or "CORNER" // ... this will take a few secs., eg, spinning bea ...
-
... // build a vector (4x1) a = Matrix.with([aVec ++ scale]).flop; // multiply and transform back to Array a = (matrix * a).getCol(0); // homogene -> normal representation and return // ( pop last element and divide vector by it ) ^(a.pop.reci ...
-
... ey.isKindOf(String)).not) { if(key.isKindOf(Symbol).not) { "Key % of type % got transformed to a string".format(key, key.class).warn; }; key = key.asString; }; "%: %".format(key.quote, this.prConvertToJson(x.value)) }; "{ % }".format(array. ...
-
... ---------------------------------------------// // for higher order ODE's // // transforms y^(n) = f(t, y, y', ..., y^(n-1)) // into this system of equations // with X=(t, x0, ..., xn-1) // // x_0' = x1 = { |t, x0, ..., xn-1| x1}.(X) // x_1 ...
-
... set of points which represent a spherical design, allowing for searching, basic transformations and visualization of the design._ #### Spherical designs >Let *X* be a finite subset of *S<sup>(n−1)</sup>*. Spherical codes and spherical desig ...
-
... fi notNil ^(rotMat ?? {[[1,0,0], [0,1,0], [0,0,1]]}) } /** returns the homogene transformation martrix [row, row, row] */ homogeneMat { var rotMat, invRot, invTrans; homogeneMat.notNil.if({ ^homogeneMat }, { invRot = this.rotMat.flop; invTr ...
-
... r, done, v0; var v = mtxV; // matrix for current L-dim configuration // Guttman transform // of N data points b = Array.newClear(m.size)!m.size; // weights * (dissimilarity/distances) d0 = Array.newClear(m.size)!m.size; // previous pairwise ...
-
... th as our reference 0 }; azimuth = msg[1]; elevation = msg[2]; roll = msg[3]; //transform into SSWorld coordinate system azimuth = (azimuth - dAzi).neg.degree2rad.wrap(0,2pi); elevation = elevation.neg.degree2rad; roll = roll.neg.degree2rad ...