That makes sense. Thank you.
I guess I have two more questions now.
Since I will only know the values of the first vector when the program starts, how can I tell the computer that this list will contain 120 vectors and that the values of the last 119 values are undefined when the list is created? In essence, I won't be typing out
velocities := [[1,2,3],[2,3,4],[4,3,2]...(to 120)];
Additionally, how can I access the individual x,y, and z components of each vector in my list.
To try to better understand this problem, I create a vector that was NOT in a list.
Velocities := Vector[1,3,6];
I then tried to change the first component of the vector like one might with a list by saying
Velocities := 4;
This didn't seem to do anything.
Do you think that it would be easier to simply use a list of lists? I only need to be able to do two things with this list: I need to select and change individual components of each sublist inside the list, and I need to perform a few advanced calculus functions on these lists. What data structure do you think would best suit my needs?
Thank you again
EDIT: I was looking online a bit more and noticed that lists are ordered. This is definitely not a property that I want my data structure to have. Should such an attribute deter me from leaning towards the list data structure?