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

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


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20090720/e31af542/attachment.html 


More information about the NumPy-Discussion mailing list