On Jun 7, 9:24 am, Öö Tiib <oot...@hot.ee> wrote: On Jun 7, 5:53 pm, orz <cdh...@gmail.com> wrote: I had not actually realized that C++0x proposals included new RNG stuff. It seems to be rather fond of the idea of a distribution & RNG pair as a discrete object. I'd rather go lighter on templates than they like, at least for the stuff not targeted at researchers
fuaada wrote: My generator for random poisson number is B = [0 2; 1.5 1.94 ; 2 1.97 ; 3 1.86 ; 3.5 1.91 ; 4.5 1.75 ; 5 1.73 ; 6 1.59 ; 7.5 1.37 ; 8.5 1.18 ; 9 1.16; 10.5 1.0885]; xdata=B(:,1); num=100;gamma=1; npoints=11; T=24; for i=1:npoints+1 X(:,i)=poissrnd((gamma*xdata(i)),1,num); end Here i want to fix the random number X
I have this bug too with the same versione of piding (2.7.1-1), random crashes when I'm not even using the program. I'm attaching a backtrace I took following the instruction on the pidgin's site (http://developer.pidgin.im/wiki/GetABacktrace), hope it helps. Don't know if related but this bug came out just a few days ago when i stopped using msn-pecan plugin for my msn account and went
Sahra winter wrote: I have some spheres/points plotted in 3D & would like to give each of them a random motion? Any idea how to do that? Should the motion be constrained to a maximum Euclidean magnitude, or are x and y and z independent and constrained? Somewhere around 10 days ago, Roger Stafford showed how to create a random simplex, which is needed in order to construct vectors