lør, 26 09 2009 kl. 19:24 +0200, skrev Jaroslav Hajek:
> if you ever needed to draw n random numbers from 1:6 in your script,
> this function is for you.
> OK, ceil (6*rand (1, n)) can do it as well, but this one is cooler.
> Terminal with ansi-escapes required.

Ha ha! This is soo cool. It might be a bit slow for large scale Markov
Chain Monte Carlo studies, though :-)
But I can easily imagine using this when doing demos during lectures.

Yet another function that could go into the non-existing 'fun' package. 

Søren


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to