search for: ndisp

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

Did you mean: disp
2010 Nov 10
1
Difficult doubt about choose distances randomly in a matrix with a probability of event
I would like to build a model in R to simulate the seed dispersal by one plant. The plant produced 5 seeds and the probability of falling inside the eight closest space was 0.8 and in the next space 0.2 and in the rest space 0: 0 0 0 0 0 0 0.2 0.2 0.2 0.2 0.2 0 0.2 0.8 0.8 0.8 0.2 0 0.2 0.8 1 0.8 0.2 0 0.2 0.8 0.8 0.8 0.2 0 0.2 0.2 0.2 0.2 0.2 0 0 0 0 0 0 0
2009 Jul 16
2
[PATCH server] updated anyterm/ovirt integration
...server: + +function handle_resp_error(resp) { + if (resp.charAt(0)=="E") { + var msg = resp.substr(1); + alert(msg); + return true; + } + return false; +} + + +// Receive channel: + +var rcv_loader; + +var disp=""; + + + +function process_editscript(edscr) { + + var ndisp=""; + + var i=0; + var dp=0; + while (i<edscr.length) { + var cmd=edscr.charAt(i); + i++; + var cp=edscr.indexOf(":",i); + var num=Number(edscr.substr(i,cp-i)); + i=cp+1; + //alert("cmd="+cmd+" num="+num); + if (cmd=="d"...