4.2.8 - FoDS (Vectors) Flashcards

(11 cards)

1
Q

What is meant by a vector in computing

A

A way of representing spatial information and movement in numerical ways, and that allows random access/modification of its elements by their rank

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the features of a vector

A
  • Magnitude
  • Direction
  • Initial point
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the ways that a vector can be represented

A
  • A list of numbers
  • A function
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

When represented as a list of numbers how can a vector be described

A
  • An n-vector over R or Rⁿ, where n is the dimension of the vector, and R is the number set (Real numbers)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What set must all the quantities in the vectors be drawn from

A
  • The same number set e.g. the Real numbers
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How can a vector be represented as a dictionary

A
  • Where the keys are the rank/dimensions and the values are the magnitudes
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How is a vector function written

A

F: S –> R
Where:
F - the function to create a vector
S- the complete set of values
R - the co domain (the potential outcomes)
–> - Maps to

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the convex combination of two vectors u and v

A
  • where two vectors u and v with the same initial point combine (by making a triangle with the last side being a straight line between their tips) to create any 3rd vector that lies on the line connecting the 2 vectors
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the equations for convex combination

A

αu + βv where α, β
≥ 0 and α + β = 1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the dot product of u and v

A

u1v1 + u2v2 where:
- u = (u1,u2)
- v = (v1,v2)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the application of the dot product

A

To find the angle between two vectors

How well did you know this?
1
Not at all
2
3
4
5
Perfectly