For the above task, std::vector::insert() is sufficient as stated.

However, for anything more mathematical, you should consider using Boost::uBLAS's vector class.