[Numpy-discussion] no 3 arg multiply in MA?

Jake Edge jake at edge2.net
Mon Jun 3 07:26:02 EDT 2002

I was converting a program written for Numeric to use masked arrays and 
I ran into a problem with multiply ... it would appear that there is no
3 argument version for MA?  i.e.

a = array([1, 2, 3])

works fine to square the array using Numeric, but i get an exception:

TypeError: __call__() takes exactly 3 arguments (4 given)

when doing it using MA ...

it seems clear that that is the problem, is it an oversight or just as yet
unimplemented or am I missing something?



More information about the NumPy-Discussion mailing list