search for: themethod

Displaying 2 results from an estimated 2 matches for "themethod".

Did you mean: semethod
2007 Apr 23
4
Estimates at each iteration of optim()?
I am trying to maximise a complicated loglikelihood function with the "optim" command. Is there some way to get to know the estiamtes at each iteration? When I put "control=list(trace=TRUE)" as an option in "optim", I just got the initial and final values of the loglikelihood, number of iterations and whether the routine has converged or not. I need to know the
2007 Sep 13
0
2 commits - libswfdec/swfdec_as_function.c test/trace
...en with permission from http://www.timotheegroleau.com/Flash/articles/scope_chain.htm + +getMethod = function() { + var setProto = function() { + this.__proto__ = o1; + }; + setProto(); + + return function() { + trace(a); + }; +}; + +_global.a = 4; +o1 = {a:5}; +o2 = {a:6}; +a = 7; + +o2.theMethod = getMethod(); +o2.theMethod(); + +loadMovie ("FSCommand:quit", ""); diff --git a/test/trace/scope-chain-function-and-5.swf b/test/trace/scope-chain-function-and-5.swf new file mode 100644 index 0000000..fffebc2 Binary files /dev/null and b/test/trace/scope-chain-function-and-5....