Data Science, Linear Algebra, Mathematics.
as neither goes into the other. The dot product can also be used to find the magnitude of a vector and the angle between two vectors. Image from cuemath.com Let’s look at some examples of dot products. Image by author Example for dot product using Python: import numpy as np A = np.array([1,2,3,4])