-
... mOnEach( thisMethod.name ) } squared { ^this.performOnEach( thisMethod.name ) } cubed { ^this.performOnEach( thisMethod.name ) } sqrt { ^this.performOnEach( thisMethod.name ) } exp { ^this.performOnEach( thisMethod.name ) } reciprocal { ^th ...
-
... le.postln); b.sine1((1.dup(4) ++ 0.dup(8)).scramble.postln); b.sine1({1.0.rand2.cubed}.dup(8).round(1e-3).postln); b.sine1({1.0.rand2.cubed}.dup(12).round(1e-3).postln); b.sine1({1.0.rand2.cubed}.dup(16).round(1e-3).postln); b.sine1({1.0.ra ...
-
... le.postln); b.sine1((1.dup(4) ++ 0.dup(8)).scramble.postln); b.sine1({1.0.rand2.cubed}.dup(8).round(1e-3).postln); b.sine1({1.0.rand2.cubed}.dup(12).round(1e-3).postln); b.sine1({1.0.rand2.cubed}.dup(16).round(1e-3).postln); b.sine1({1.0.ra ...
-
... ; var <>width; var <>transforms; var <>fill = false; *new { ^super.new.init; } *cube { ^this.new.paths = #[ [[-1,-1,-1],[1,-1,-1],[1, 1,-1],[-1, 1,-1],[-1,-1,-1]], [[-1,-1,-1],[-1,-1,1]],[[ 1,-1,-1],[ 1,-1,1]],[[-1, 1,-1],[-1, 1,1]],[[ 1, 1 ...
-
... ; lv=v.copy; ln=n.copy; li=li ? Pseq([0.0], inf).asStream; loop { newu=lc * (lu.cubed * -0.33333333 - lv + lu + li.next) + lu; lv=ld * (lb * lu + la - lv) + lv; lu=newu; if ((lu > 1.0) || (lu < -1.0)) { lu=((lu - 1)%4.0 - 2.0).abs - 1.0; }; ...
-
... s the mapping for display styles: \Linear -> 0, \SquareRoot ->1, \Squared ->2, \Cubed ->3, \CubeRoot ->4, \Exponential ->5, \Logarithmic ->6 Note that these work the other way around than Spec, eg. use \Logarithmic where you would use \exp ...
-
... d = LinLin.kr([c_3c, c_4d], 0, 1, 0, 12*8); #f, h = ([c_6f, c_8h ]).lag(robLag).cubed; // just curve .. i = LinExp.kr(c_8i, 0, 1, minScale, maxScale).lag(robLag)-0.1; s2 = s2.clip(0.0, 1); #pw1, pw2 = [pw1, pw2].lag(robLag+1).clip(0.001, 1- ...
-
... tent == Unary Operators: matrix.uop neg bitNot abs ceil floor frac sign squared cubed sqrt exp reciprocal Binary Operators / div % ** min max Inherited instance methods Authors Classes (extension) | Math | Linear Algebra | Libraries > MathL ...
-
... er: Unary Operators Arithmetics neg reciprocal abs floor ceil frac sign squared cubed sqrt exp Musical acoustics midicps cpsmidi midiratio ratiomidi dbamp ampdb octcps cpsoct Random operators Other log log2 log10 sin cos tan asin acos atan ...
-
... ^this.chainRule(neg(_), -1) } squared { ^this.chainRule(squared(_), (_ * 2)) } cubed { ^this.chainRule(cubed(_), { |x| x.squared * 3 }) } abs { ^this * this.sign } // unary ops with dual zero ceil { ^this.class.new(this.real.ceil, 0.0) } f ...