[Numpy-tickets] [NumPy] #721: 0-dimensional boolean arrays should work as masks for array scalars
NumPy
numpy-tickets@scipy....
Thu Apr 10 13:12:19 CDT 2008
#721: 0-dimensional boolean arrays should work as masks for array scalars
--------------------+-------------------------------------------------------
Reporter: stefan | Owner: oliphant
Type: defect | Status: new
Priority: normal | Milestone: 1.0.5
Component: Other | Version: none
Severity: normal | Resolution:
Keywords: |
--------------------+-------------------------------------------------------
Comment (by peridot):
Uh, okay; what is np.array(0)[np.array(False)] then? Do we have a way to
represent a rank-0 array with no elements, or do they all have exactly
one?
--
Ticket URL: <http://scipy.org/scipy/numpy/ticket/721#comment:3>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.
More information about the Numpy-tickets
mailing list