| New Reply |
Are 'lists' and vectors the same thing? |
Share Thread | Thread Tools |
| Feb12-13, 08:11 AM | #1 |
|
|
Are 'lists' and vectors the same thing?
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 |
| Feb12-13, 09:06 AM | #2 |
|
|
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 non-standard terminology. |
| Feb12-13, 09:13 AM | #3 |
|
Mentor
|
|
| Feb12-13, 09:51 AM | #4 |
|
|
Are 'lists' and vectors the same thing?(Thank goodness for "Look Inside" on Amazon! )
|
| Feb12-13, 11:06 PM | #5 |
|
|
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.
|
| Feb13-13, 07:39 AM | #6 |
|
|
Makes sense now, thanks a lot of everyone!
|
| New Reply |
| Thread Tools | |
Similar Threads for: Are 'lists' and vectors the same thing?
|
||||
| Thread | Forum | Replies | ||
| 08/27/12 PHD comic: 'Where To Do Lists go to die' | Science Comics | 2 | ||
| 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 | ||