std::vector is not a mathematical vector. It serves a purpose of a container storing its elements sequentially in a contiguous chunk of memory (it is a dynamically grown array).
There are some pretty good libraries out there which can help you deal with math stuff, for example, you might want to check out Eigen.