numpy.ma.dot

numpy.ma.dot(a, b, strict=False)

Return the dot product of two 2D masked arrays a and b.

Like the generic numpy equivalent, the product sum is over the last dimension of a and the second-to-last dimension of b. If strict is True, masked values are propagated: if a masked value appears in a row or column, the whole row or column is considered masked.

Parameters:

strict : {boolean}

Whether masked data are propagated (True) or set to 0 for the computation.

Notes

The first argument is not conjugated.

Previous topic

numpy.ma.diag

Next topic

numpy.ma.identity

This Page

Quick search