Dot product (source code)

= Dot product
{title2=$\mathbf a\cdot\mathbf b$}
{wiki}

The dot product of Euclidean vectors is $\mathbf a\cdot\mathbf b=\sum_i a_i b_i$. It equals $|\mathbf a||\mathbf b|\cos\theta$, where $\theta$ is the angle between them.