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

David Goldsmith d_l_goldsmith at yahoo.com
Wed May 13 03:17:26 EDT 2009


Excellent, Stefan, thanks.

DG

--- On Wed, 5/13/09, Stéfan van der Walt <stefan at 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