Register to reply 
Are 'lists' and vectors the same thing? 
Share this thread: 
#1
Feb1213, 08:11 AM

P: 333

I've just been reading through the first few pages of 'Linear Algebra Done Right' by S. Axler and so far, the concept of a 'list' seems a lot like a vector. Are they one and the same?
If so, is there a reason why Axler chose to call it a list? Perhaps maybe to rid the idea that a vector is a 'directed line segment'? Thanks 


#2
Feb1213, 09:06 AM

Math
Emeritus
Sci Advisor
Thanks
PF Gold
P: 39,353

I don't have that book so cannot see exactly how he defines "list" but, at least according to any definition I would consider reasonable, no, they are not the same. I would take a "list" to be an ordered sequence. I can, have, for example, my grocery list: bread, milk, tuna fish, green beans, potatoes. That is pretty much equivalent to the "list" data type you will find in Pascal, C++ or Java.
Now, while there are many different, more or less equivalent, ways to define "vector", they all give an algebraic structure. We must be able to add two vectors and multiply a vector by a number (or, more generally, an element of a field). That is certainly NOT the case for the "list" above. If he is saying "a list of numbers with defined addition and scalar multiplication", that would be the same but I can see no good reason for the nonstandard terminology. 


#3
Feb1213, 09:13 AM

Mentor
P: 15,067




#4
Feb1213, 09:51 AM

P: 194

Are 'lists' and vectors the same thing?
(Thank goodness for "Look Inside" on Amazon! ) 


#5
Feb1213, 11:06 PM

Sci Advisor
HW Helper
PF Gold
P: 3,186

As I recall, he uses lists to group objects much as you would do with a set, but with two differences: first, the order in which the elements appear is significant, so (1,2) is not the same as (2,1); and second, there can be repetitions, so you can have a list like (2,2) which is distinct from (2), something you can't do with sets.



#6
Feb1313, 07:39 AM

P: 333

Makes sense now, thanks a lot of everyone!



Register to reply 
Related Discussions  
Problem with lists  Math & Science Software  1  
Is this an ego thing, a dishonesty thing, or a smart thing to do? (concerning grades)  Academic Guidance  10  
C++ Lists & Iterators  Engineering, Comp Sci, & Technology Homework  24  
Lists in mathematica  Math & Science Software  4 