Dot product
Say it: "a dot b"
What it means
Multiply matching entries and add: . Also written or .
Example
A single number.
In code
import numpy as np print(np.dot([1, 2, 3], [4, 5, 6]), np.array([1, 2, 3]) @ np.array([4, 5, 6]))
Output
32 32
Where it appears in machine learning
A neuron computes a dot product of inputs and weights; similarity search compares embeddings with dot products.
Related symbols
Learn it properly in the free lesson Vectors, Norms & the Dot Product, with practice questions that check your answers.