[Numpy-discussion] Update numpy.lib.ufunclike.log2
Brian Lewis
brian.lewis17 at gmail.com
Mon Jul 20 15:24:20 EDT 2009
On Mon, Jul 20, 2009 at 12:12 PM, Brian Lewis <brian.lewis17 at 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.python.org/pipermail/numpy-discussion/attachments/20090720/043bdf48/attachment.html>
More information about the NumPy-Discussion
mailing list