numpy.ma.inner()

numpy.ma.inner

numpy.ma.inner(a, b) [source]

Inner product of two arrays.

Ordinary inner product of vectors for 1-D arrays (without complex conjugation), in higher dimensions a sum product over the last axes.

Parameters:

a, b : array_like

If a and b are nonscalar, their last dimensions must match.

Returns:

out