[NumPy-Tickets] [NumPy] #1941: ENH: array_equal / array_equiv for structured arrays
NumPy Trac
numpy-tickets@scipy....
Tue Aug 23 17:10:41 CDT 2011
#1941: ENH: array_equal / array_equiv for structured arrays
-------------------------+--------------------------------------------------
Reporter: derek | Owner: somebody
Type: enhancement | Status: new
Priority: normal | Milestone: Unscheduled
Component: numpy.core | Version: devel
Keywords: numeric |
-------------------------+--------------------------------------------------
Could be considered a defect as well: the array_* comparison functions do
not operate on structured/record arrays. This could be fixed using a
simple
{{{
bool( all([ logical_and.reduce(equal(a1[n],a2[n]).ravel())
for n in a1.dtype.names ]) )
}}}
in numeric.py
--
Ticket URL: <http://projects.scipy.org/numpy/ticket/1941>
NumPy <http://projects.scipy.org/numpy>
My example project
More information about the NumPy-Tickets
mailing list