[Numpy-discussion] Update numpy.lib.ufunclike.log2

Brian Lewis brian.lewis17@gmail....
Mon Jul 20 14:24:20 CDT 2009


On Mon, Jul 20, 2009 at 12:12 PM, Brian Lewis <brian.lewis17@gmail.com>wrote:

> Should numpy.lib.ufunclike.log2 be updated to:
>
>     x = nx.asanyarray(x)
>     if y is None:
>         y = nx.log2(x)
>     else:
>         nx.log2(x, y)
>     return y
>
>
Or perhaps removed since numpy.core.umath.log2 exists...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20090720/043bdf48/attachment.html 


More information about the NumPy-Discussion mailing list