4 ms·You can, but not with vector. Use valarray if you need to perform those kinds of computations.by bstamour 13y agoYou can, but not with vector. Use valarray if you need to perform those kinds of computations.