Vector
A vector are elements that can be added together and scaled by a constant. It is represented as a list of numbers. The dimension of a vector is the number of elements in the list. An example of a vector of size 3.
Vectors can be through of as points in a high dimensional space. You can compute the distance (meaning regular distance) between vectors using the formula (for 2 vectors of the same size and ):
Or, in general, for vectors with dimensions:
Or, even more in general, you can compute the distance (with ) as: