- #1
Zeynel
- 43
- 2
I'm learning APL and this is how a vector is defined https://tryapl.org:
I see that in math a list of numbers is called a vector.
In physics a vector is a directed magnitude. So vector in physics is a set of only two numbers. One of these numbers is interpreted as magnitude and the other is interpreted as direction.
My question is: Is the above description correct?
All data resides in arrays. An array is a rectangular collection of numbers, characters and arrays, arranged along zero or more axes. We can use more specific terms for some arrays, like a single number is a scalar, a list is a vector, and 2D arrays are matrices. Vectors can be formed by just placing elements next to each other:
I see that in math a list of numbers is called a vector.
In physics a vector is a directed magnitude. So vector in physics is a set of only two numbers. One of these numbers is interpreted as magnitude and the other is interpreted as direction.
My question is: Is the above description correct?