Quick maths question

Soldato
Joined
12 Apr 2004
Posts
11,788
Location
Somewhere
And no, this isn't homework ;)

Can two vectors of different numbers of dimension be added together? For example, can the 2-vector (2, 2) be added to the 3-vector (2, 2, 2) to give another 3-vector, (4, 4, 2) , or is this not a valid thing to do?

None of the sites I've looked on seem to address this.
 
eXSBass said:
As long as you get your place values correct, why not?
spirit said:
vector (2,2) is the same as (2,2,0) [if i remember right] so i don't see why not.
This is what I was thinking, but I wanted to be sure that it wasn't something that strictly speaking shouldn't or can't be done.
 
Back
Top Bottom