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])
multiply(a,a,a)
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?
thanks!
jake
|