[Numpy-discussion] More scalar math issues
Travis Oliphant
oliphant.travis at ieee.org
Wed May 23 14:24:24 EDT 2007
Erin Sheldon wrote:
> y=x.copy()
> N.cos(x,y)
> but wouldn't it be better to just preserve the type through functions
> like cos? Or does this cause repercussions in other places?
>
This causes repercussions in other places. This can be re-visited for
1.1, but for now, all ufuncs that return 0-d arrays are converted to
array scalars.
-Travis
More information about the NumPy-Discussion
mailing list