A collection of operations on 1D and 2D vectors.