[SciPy-dev] Random Normal with zero sdev?

Gabriel Gellner ggellner@uoguelph...
Wed Feb 7 10:27:42 CST 2007

Is there any reason that numpy.random.normal raises an exception for

In R it simply returns the mean, which seems a useful 'degenerate' case
to me. (also if you use the mean + sqrt(stdev)*randn() idiom for
matlab, it also has the nice degenerate case . . .)

Just wanted to see if this was a bug, or a feature . . . (if a
feature, I will simply make a wrapper for myself).


More information about the Scipy-dev mailing list