Slide 4
Slide 4 text
4
Vector
Ø In mathematics, a vector is a quantity that has magnitude and direction. ⃗
𝑣
Ø In computer science, a vector is group or array of numbers.
Ø Examples:
Ø [2.1, 0.34, 4.678]
Ø [4]
Ø [0.13483997249264842, 0.26967994498529685,
−0.40451991747794525, 0.5393598899705937, 0.674199862463242]
Ø They are both equivalent.
Ø The elements in a vector are also called the dimensions of the vector.
𝑋
𝑌
𝑍
V(x, y, z)
𝜃
𝑚
⃗
𝑣 m, 𝜃 = V(x, y, z)
⃗
𝑣