JuliaLang/julia — pull request #875 by dmbates (2012-05-25 19:31:18+00:00)
Title: Fix errors in vectorization of pdf, etc. 

Add more mean, median, var, skewness, ... methods. Fix Normal cdf calculation. Add some initial tests.
Modify the macros for generating the pdf, logpdf, ... functions to extract the names of the parameters of the distribution from the distribution type itself.