import numpy as np
from numpy import ma
a = ma.array([[1, 2, 3], [4, 5, 6]], mask=[[1, 0, 0], [0, 0, 0]])
b = ma.array([[1, 2], [3, 4], [5, 6]], mask=[[1, 0], [0, 0], [0, 0]])
np.ma.dot(a, b)
np.ma.dot(a, b, strict=True)

ebe77f645a27e7e4979ab8835ef9fe1cff7a34c9
<mask token>

<mask token>
np.ma.dot(a, b)
np.ma.dot(a, b, strict=True)

<mask token>
a = ma.array([[1, 2, 3], [4, 5, 6]], mask=[[1, 0, 0], [0, 0, 0]])
b = ma.array([[1, 2], [3, 4], [5, 6]], mask=[[1, 0], [0, 0], [0, 0]])
np.ma.dot(a, b)
np.ma.dot(a, b, strict=True)

import numpy as np
from numpy import ma
a = ma.array([[1, 2, 3], [4, 5, 6]], mask=[[1, 0, 0], [0, 0, 0]])
b = ma.array([[1, 2], [3, 4], [5, 6]], mask=[[1, 0], [0, 0], [0, 0]])
np.ma.dot(a, b)
np.ma.dot(a, b, strict=True)
