Vector Basics
https://pythonprogramming.net/vector-basics-machine-learning-tutorial/
Covering the basics of vectors:
- Origin (assume 0,0)
- Direction – heading (x,y)
- Magnitude – length of line
Magnitude = square root of the sum of the squares of the other 2 sides (Pythagoras)
Dot product
(1,3) x (4,2) = (1×4)+(3×2) = 6