Vectors are a geometric elements having both direction and magnitude. Vector math is the set of operations on a vector combining it with another vector or with a scalar value.
Vector math can involve the combination of a vector and either a scalar or another vector.
A simple addition operator, for example:
(1, 2, 3) + (10, 20, 30) = (11, 22, 33)
Or a multiplication with a scalar:
(1, 2, 3) * 13 = (13, 26, 39)
The standard list of operations can vary by the space in which the vector is defined, but in the general case the basic operations are:
- Addition
- Subtraction
- Multiplication by a Scalar
- Magnitude
- Dot Product
- Cross Product