Dot Product Operator

The dot product, also known as the scalar product, takes two vectors and returns a scalar. It measures the extent to which one vector goes in the direction of another. The operator is defined using algebra as shown below:

The operator is also defined geometrically as the procuct of the magnitudes and the angle between the two vectors.