haskell / mwc-random

A very fast Haskell library for generating high quality pseudo-random numbers.
http://hackage.haskell.org/package/mwc-random
BSD 2-Clause "Simplified" License
55 stars 25 forks source link

Add truncated exponential distribution #24

Closed Shimuuar closed 11 years ago

Shimuuar commented 11 years ago

Add generator for truncated exponential distribution. For example it's useful in Monte-Carlo when tail is cut by detector aceptance etc.