[GSoC] Mir.random.flex - Generic non-uniform random sampling

Stefan via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Tue Aug 23 15:48:31 PDT 2016


Seb, this is awesome!

On Monday, 22 August 2016 at 15:34:47 UTC, Seb wrote:
> http://blog.mir.dlang.io/random/2016/08/19/intro-to-random-sampling.html

code samples with too long lines do not render appropriate on my 
browsers. (current chrome on linux and a pretty outdated firefox 
on windows :) )

Taking this example:

   S sample(S, RNG, Pdf, Hat, HatInv, Squeeze)(ref RNG gen, Pdf 
pdf, Hat hat,
       HatInv hatInvCDF, Squeeze sq)
   {

Then the second line of parameters does not render at all.

Will definitly play around with your code!


More information about the Digitalmars-d-announce mailing list