Nov. 8, 2005
3:43 p.m.
On Tue, 8 Nov 2005, Perry Greenfield wrote:
What about:
a1 = array([[1,2,3],[1,2,3]]) a2 = array([1,2,3]) a1 == a2
These two arrays are not the same shape but because of broadcasting will show to be equal. Is this what you intended? Some might, some might not.
Ah, that's a good argument. Okay, I'm sold ;) -- Ed