[Numpy-discussion] Current ufunc signatures for review
Charles R Harris
charlesr.harris at gmail.com
Sun May 25 16:43:53 EDT 2008
On Sun, May 25, 2008 at 2:29 PM, Robert Kern <robert.kern at gmail.com> wrote:
> On Sun, May 25, 2008 at 1:12 PM, Charles R Harris
> <charlesr.harris at gmail.com> wrote:
> > Hi All,
> >
> > Here is the current behavior of the ufuncs and some comments. They don't
> yet
> > cover mixed types for binary functions,
> > but when they do we will see things like:
> >
> > In [7]: power(True,10)
> > Out[7]:
> > array([ 0.5822807 , 0.66568381, 0.11748811, 0.97047323, 0.60095205,
> > 0.81218886, 0.0167618 , 0.80544138, 0.59540082, 0.82414302])
> >
> > Which looks suspect ;)
>
> Very much so.
>
> >>> from numpy import *
> >>> power(True, 10)
> 1
>
What about the signatures?
Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20080525/09f5af24/attachment.html>
More information about the NumPy-Discussion
mailing list