First of all, I am sorry for asking a rather subjective question, but maybe there is a quite simple answer to my question.
In math when I have a vector, I can do operations on it, e.g. v_3 = v_1 + v_2
. In c++ I can do the same with valarray. On the other side, if I just want to have an extendable array with dynamic size, I use std::vector. Do you see why I think theire names are swapped?
Is there any logical or historical explanation for this naming decision?