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