Dot product

Applies to: general, python

The dot product multiplies matching vector components and sums them, measuring alignment or weighted totals.

np.dot([1, 2], [3, 4])  # 11

See also: matrix, matrix-multiplication