In mathematics the concept of a vector can be made quite general and abstract with the idea of vector space. We define what is a vector space $V$ and we say that a vector is an element of a vector space $V$.
This concept is algebraic, and the important thing is the behavior of the operations performed on elements of $V$ inasmuch as it happens with groups, rings and fields. In that case, a vector space might include concepts quite far from the geometric idea of an arrow, including spaces of functions and much more.
On the other hand there is a quite particular case of this concept that is indeed related to geometry. That would be the tangent spaces to a smooth manifold $M$.
Given a smooth manifold $M$, for each $x\in M$, the tangent space $T_x M$ is a vector space comprising all directions tangent to $M$ at $x$. This implies that $T_x M$ is actually defined precisely so that we can picture its elements as arrows at $x$.
Physicists usually define vectors in a different way, with transformation laws. Quoting Arfken:
The set of $N$ quantities $V_j$ is said to be the components of an $N$-dimensional vector $\mathbf{V}$ if and only if their values relative to the rotated coordinate axes are given by
$$V_i'= \sum_{i=1}^N a_{ij}V_j, \quad i=1,2,\dots,N$$
As before, $a_{ij}$ is the cosine of the angle between $x_i'$ and $x_j$.
Now my question here is: when this standard definition is made, nothing is mentioned about what are the assumptions made over the space of all vectors.
Certainly it should be a vector space, however I ask: when physicists perform this standard definition of a vector, what is being defined is an element of a general vector space, that could be simply anything, or one has in mind exactly the tangent spaces to a smooth manifold?
Is this definition, defining a vector in a general vector space, or it is defining a vector that belongs to the tangent space to a manifold?