-
... ]-1)}; q[\timeMapperReverse] = {|s| s*q[\timeStep]}; // create 88x88 transition matrix for midi notes // which is diagonal so we will create a chromatic glissando // as an init distribution q[\markovNote] = (q[\noteRange].size-1).collect({| ...
-
... Network = { arg layerDimensions; layerDimensions.collect { arg dimensions; Matrix.with(Array.fill(dimensions.first, { Array.rand(dimensions.last, 0, 1.0) })) } }; ~forward = { arg network, input; var weightedInputs = []; var ...
-
... [5,5] ] ]; ~mods = {arg trig, dur; var algo = ~algos.choose; var matrix = Array.fill2D(6, 6, 0); var vals = algo.value; vals.do {arg x; matrix[x[0]][x[1]] = ~env.(1.0.rand, 1.0.rand, trig, dur) }; [matrix, algo.key ...
-
... ry of mathematical functions. See specific helpfiles for more detail: * LaTeX * Matrix * Pboolnet * ScatterView and ScatterView3d * Trafo * MarkovSet and MarkovSetN * FuzzySet and FuzzyDictionary * ShannonFinger and ShannonMarkovSet * extSt ...
-
... umdims*numdims) + 2; // number of floats for each class ^arr.collect{|cl| cov = Matrix.with(cl[1]); cl[0] // mean ++ cov.inverse // inverse of covariance matrix ++ (cl[2] / cov.det.sqrt) // weight / sqrt of determinant of covariance }.flat. ...
-
... integration | | _Markov & Fuzzy Sets_ | Support for Markov and Fuzzy Sets | | _Matrix_ | Matrix operations | | _Patterns_ | Various Pattern operations | | _Polynomials & Special Functions_ | Support for polynomials | | _Scatter Views: 2D & ...
-
... | row.collect{|elem| if (elem == 0) {0} {elem.reciprocal} } }; // format metric matrix // inharm.size.do{|z| // z.do{|q| // inharm[q][z] = inharm[z][q]; // symmetrical // }; // inharm[z][z] = 0; // hollow // }; inharm = this.makeSymmetrical ...
-
... 's orientation convention as well as a slight refactor. */ HoaUGen { classvar xzMatrix, yzMatrix; classvar jMatrix, kMatrix, jkMatrix, kjMatrix, jkOrder; // stored as MatrixArrays /* // A place for utilities used by Hoa UGens, e.g. // check ...
-
... rguments: buffer1 FFT chain1 buffer2 FFT chain2 wAmount Influence of the weight matrix (should be between 0 and 1). Weight matrix helps to minimize errors on regions with more energy. Inherited class methods Instance Methods Inherited insta ...
-
... .from3dPoints( [0, 2, 0], [3, 3, 0], [15, 2, 0] ) ) /* returns Trafo.basicNew( Matrix[ [ 0.94868329805051, 0.31622776601684, 0, 0 ], [ 0.31622776601684, -0.94868329805051, 0, 2 ], [ 0, 0, -1, 0 ], [ 0, 0, 0, 1 ] ] ) */ // don't work, since ...