[Numpy-discussion] Current ufunc signatures for review
Robert Kern
robert.kern at gmail.com
Sun May 25 16:29:25 EDT 2008
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
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
-- Umberto Eco
More information about the NumPy-Discussion
mailing list