Closed
Description
masked.dot(other)
is equivalent to numpy.dot(masked, other)
, rather than numpy.ma.dot(masked, other)
.
In [1]:
import numpy
a = numpy.ma.array([0, 1], mask=True)
b = numpy.ma.array([0, 1])
In [2]:
a.dot(b)
Out [2]:
1
In [3]:
numpy.ma.dot(a, b)
Out [3]:
masked_array(data = --,
mask = True,
fill_value = 999999)