-
... mbinatorial problems with an often rapid growth of solutions and/or enumeration steps with increase of size, it is recommended to start examples with low numbers to avoid hangs. Integer::enum (pool, function, evalAtZero, type, order, maxNum ...
-
// Step 3: GUI actions that know their source. `view.srcAction = {...}` sets the // action like `view.action = {...}`, but runs it with the view's source: // \menu for PopUpMenus and lists and \button for buttons (posted on radpost), // \gu ...
-
... round= Color.white; win.drawFunc= { var wb= win.bounds; var ub= usr.bounds; var step; Pen.smoothing= false; Pen.color= Color.black; Pen.stringAtPoint("FFT Plot", Point(10, 10), f0); Pen.push; Pen.translate(ub.left, ub.bottom); Pen.stringAtP ...
-
... es.at(index) * learningRate) } }; ~trainLoop = { arg network, observations, steps=10, learningRate=0.1, action={}; Routine.new { steps do: { arg idx; var observation = observations.choose; var input = observation.first; ...
-
... h) start fixed (default: 0) end fixed (default: 1) dur fixed. integer number of steps to reach end (default: 1) mul (default: 1) add (default: 0) length number of values produced (default: inf) // example s.boot; a= Pbind ( \dur , 1/3, \leg ...
-
... t update messages whenever the position changes. the gui can check the previous step in order to reset the last highlighted position on the gui */ Position { var <current=0,<previous=0; value { ^current } value_ { arg val; previous = curren ...
-
... t update messages whenever the position changes. the gui can check the previous step in order to reset the last highlighted position on the gui */ Position { var <current=0, <previous=0; value { ^current } value_ { arg val; previous = curre ...
-
... h) start fixed (default: 1) end fixed (default: 2) dur fixed. integer number of steps to reach end (default: 1) mul (default: 1) add (default: 0) length number of values produced (default: inf) // example s.boot; a= Pbind ( \dur , 1/3, \leg ...
-
... .new.initTraerEulerIntegrator(s); } initTraerEulerIntegrator {|argS| s= argS; } step {|t| s.clearForces; s.applyForces; s.numberOfParticles.do{|i| var p= s.getParticle(i); if(p.isFree, { p.velocity.add(TraerVector3D(p.force.x/(p.mass*t), p. ...
-
... <1, and it will loop for rates>1, resyncing when \repms time has passed) \pitchstep will make that every new loop starts with an increment/decrement of semitones defiend by this parameter \declick...well... declicks.... and \reverse reve ...