Displaying 2 results from an estimated 2 matches for "endtest".
2006 Jul 17
6
Nested functions
Hi there,
I'm having myself a hard time writing an algorithm for finding patterns
within a given melody. In a vector I'd like to find ALL sequences that
occur at least twice, without having to check all possible patterns via
pattern matching.
I finally found a solution in a style that I'm used from C, i.e. calling
one function from within another. GNU R doesn't seem to like that,
2006 Jun 30
0
sync reads or big files problem
...ponse.responseText; //output of a
returned data to invisible div
$(''timer'').innerHTML=$(''timer'').innerHTML+"<br />Run #"+i+":
"+(runtime)+"ms"; //output time and counter of current iteration
if(++i>=runs) { endtest(); } else { starttest(); } //if there
are more iterations to do, do it. else process the total time
information.
}
function endtest() {
$(''timer'').innerHTML=$(''timer'').innerHTML+"<br />Total:
"+(totaltime)+"ms"; } //output to...