Dot Products with NumPy
According to mathematicians, a dot product or scalar product is an operation that takes two equal-length sequence of numbers (aka vector) and returns a single number (aka scalar). The dot product of vector A with vector B is written symbolically as A • B.
Algebraically, it is the sum of the products of each entry of the sequence (aka elements of vectors). If you have not…