Dot Product

Dot product(scalar product, or inner product) is the result of multiplying corresponding elements of two equal-length vectors, then adding the results.

he dot product of two and is defined as:

The dot product is the building block of matrix multiplication, a very particular way to combine a pair of two-dimensional arrays.