[SciPy-dev] Note at beginning of "Other Math" Milestones

David Goldsmith d_l_goldsmith@yahoo....
Wed May 13 02:17:26 CDT 2009


Excellent, Stefan, thanks.

DG

--- On Wed, 5/13/09, Stéfan van der Walt <stefan@sun.ac.za> wrote:

> numpy.lib.scimath is convenient in that it provides output
> in the
> complex domain, if required:
> 
> In [5]: np.sqrt(-1)
> Out[5]: nan
> 
> In [6]: np.lib.scimath.sqrt(-1)
> Out[6]: 1j
> 
> The documentation for these functions may refer to the
> standard numpy
> routines, but should document the differences explicitly.


> 
> Regards
> Stéfan


      


More information about the Scipy-dev mailing list