Dot product (scalar product)

The dot product, also called the scalar product, is a binary operation that takes two equal-length vectors and returns a single number. The dot product is written as a scalar value with a dot ( . ) between the two vectors, like this: a ยท b The result of the dot product is a scalar … Read more