[Numpy-discussion] masked_equal not commutative

Charles Doutriaux doutriaux1 at llnl.gov
Tue Aug 12 14:18:12 EDT 2008


As always as i clicked send i realized my error
it is indeed not commutative and that makes sense
but i'm not sure the case:
numpy.ma.masked_equal(1,a)

should have worked, since we don't really know how to do this 
comparison, the only thing that could make sense would be commutation 
but i thinks it's probably dangerous to assume what the user wants to do.

C.



More information about the NumPy-Discussion mailing list