Is there any relationship between the vector defined as a vector or line matrix and the vector defined in physics?

55 Views Asked by At

I initially knew the definition of vector in my high school physics class, in which it's defined as a geometry model which has a magnitude and a direction. Now I'm studying deep learning and has seen the definition of matrix, in which a vector is defined as either a row or a column of a matrix(correct me if I'm wrong).

If there any relationship between these two kinds of vectors? Are they the same thing? I tend to think that the vector introduced in my physics class can either be a 2D or 3D vector, which can be represented as a tuple of 2 numbers or 3 numbers, while for the vector defined in matrix, the amount of the numbers in this vector represents its dimension as well. In this case I think they are the same thing, but just have different dimensions. Am I right?

Thanks