Hi,

I wrote a random number generating library.

[Doc]([https://yesdrx.github.io/randgen/distributions.html](https://yesdrx.github.io/randgen/distributions.html))

[Github]([https://github.com/YesDrX/randgen](https://github.com/YesDrX/randgen))
    
    
    import randgen
    when isMainModule:
      discard initRand(100)
      echo randGaussian()
    
    
    Run
    
    
    0.754597695851647
    
    
    Run

Todo:

  1. add more cdf/inv cdf/pdf
  2. replace system rand with a thread safe rand


Reply via email to