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

2009-07-20 Thread Brian Lewis
On Mon, Jul 20, 2009 at 12:12 PM, Brian Lewis 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... __

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

2009-07-20 Thread Brian Lewis
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 ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listi