Vectors Flashcards
1
Q
Define Vector
A
abstract data type to represent properties that have both direction and magnitude “oh yeah”
2
Q
How are vectors expressed
A
a = (x,y) a = [a,b]
3
Q
What does dot product look like
A
a = a1, a2 b = b1, b2
a.b = (a1 x b1) + (a2 + b2)