From: Greg W. <gre...@gm...> - 2006-10-12 15:19:13
|
May I suggest the following change to generate_umath.py? <completely untested string change> 'sqrt' : Ufunc(1, 1, None, 'square-root elementwise. For real x, the domain is restricted to x>=0.\n\ For complex results for x<0 see numpy.scimath.sqrt', TD(inexact, f='sqrt'), TD(M, f='sqrt'), ), ' When sqrt throws a ValueError would it be possible/appropriate for the error message to mention numpy.scimath.sqrt? I'm just trying to think of other ways to help make the transition as smooth as possible for new users. Greg |