numpy.inner()
numpy.inner
-
numpy.inner(a, b)
-
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
andb
are nonscalar, their last dimensions of must match.Returns: out : ndarray
out.shape = a.shape[:-1] + b.shape[:-1]
Raises: