From: Robert K. <rob...@gm...> - 2006-09-04 05:55:12
|
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. -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco |