Essential Math, Data Science, Machine Learning, Mathematics, Editors Pick.
one-dimensional arrays. You can use the function np.array() to create one: array([3, 2]) Let’s take the example of v, a three-dimensional vector defined as follows: As shown in Figure 5, you can reach the endpoint of the vector by traveling 3 units on the x-axis, 4 on the y-axis, and 2 on the