[Numpy-discussion] Random number generators

A. M. Archibald peridot.faceted at gmail.com
Mon Sep 4 01:00:56 CDT 2006


On 04/09/06, Robert Kern <robert.kern at gmail.com> wrote:
> A. M. Archibald wrote:
>
> > In the same project I also noticed it would be nice to be able to
> > (say) do "exponential(2+sin(arange(10)))" to get an array of
> > exponentials with varying parameters.
>
> Travis O. recently added this capability. The distribution parameters (loc,
> scale, alpha, whatever) are broadcast against each other using the same rules as
> ufunc parameters.

Wonderful!  Thank you, Travis O.

A. M. Archibald




More information about the Numpy-discussion mailing list