Random sampling in D -- blog post

Joseph Rushton Wakeling joseph.wakeling at webdrake.net
Wed Jul 18 07:55:06 PDT 2012


Hello all,

My patches to RandomSample were accepted earlier this month (thanks to both 
Jonathan and Andrei:-) so I thought I'd write a short blog post (which turned 
into a very long blog post...) about random sampling, the algorithms concerned, 
and its implementation in D.
http://braingam.es/2012/07/sampling-d/

If anyone's interested I may write up something more extended on the algorithms 
(if I can find a decent maths-notation solution for WordPress...) and on the D 
framework for random sampling (it could be fun to put up some creative examples 
of how to use it with different kinds of input).

Best wishes,

     -- Joe


More information about the Digitalmars-d mailing list