JuliaLang/julia — pull request #880 by dmbates (2012-05-26 22:12:11+00:00)
Title: Distributions

Allow 0 < a < 1 in randg(a::Real) and randg!(a::Real, A::Array{Float64}) as discussed in issue #878

Change pdf, cdf, ccdf, logcdf, logccdf, ... for Exponential distribution to native Julia code. Use samplers from base/random.jl for Beta, Chisq and Exponential distributions in base/distributions.jl