Matrices Flashcards
What is the order of the following matrices ?
Number of rows by numbers of columns
y by x
What does it mean for matrices to be “non conformable”?
This means that they matrices do not have the exact same order. For example
What does associative mean?
It means that despite the order/ grouping of numbers, the answers will be the same.
What does it mean for something to be commutative ?
What are the general steps to carrying out matrices multiplication?
- write out the order of both matrices
- see if compatible, if they are write order of answer matrix
- start with first element (1x1) first row by first colum
- multiply each pair of numbers and add up the answers
- then go onto next element (1x2) first row by second column
- multiply each pair and add up numbers
Multiply
Multiply (find FE)
Is matrix muliplication commutative or associative?
-
not commutative
as order within which multiplied does matter - is associative
what is the original point/shape and the transformed point/shape reffered to ?
- orginal= object
- transformed= image
what is a transformation?
the mapping of an object onto a image
how do you find the transformation representated by a given matrix?
- split up the identity matrix into points (unit vectors)
- see how they have been transformed by ploting the points on a graph
Describe the transformation of the matrix
What is the transformation matrix for any angle theta anti-clockwise. ?
What is the matrix transformation for any clockwise rotation by angle theta?
Describe the transformation by the matrix
Describe the transformation by the matrix
What are shears?
The base stays rooted and the rest shifts and becomes parallel. The area of original shape is the same to the shear.
What are the 2 different types of shears?
Successive transformations
3D matrices
Describe the Transformation under matrix
Describe the Transformation under matrix
Describe the transformation
What are invariant points?
Points that do not change after a transformation.
The origin will always be an invariant point
What are invariant lines?
A line of points that MAY be invariant or points that remain upon that line after a transformation
More proof by induction matrices
Describe the 3D planes
What are the components of an algorithm?
- finite number of steps
- unambigious steps
- deterministic
What is complexity ?
- Size in relation to run time (efficiency )
- measure of which one is faster
Perform a quick sort algorithm to sort it into ascending order
values less than or equal to go to the left of pivot
what is
* first fit
* first fit decreasing
* full bin
- FF: putting the numbers using given order in question
- FFD: ordering the list into descending order - biggest first
- FB: using brain for optimal solution
what does heuristic mean?
- a method that finds the solution efficently, but with no gurante that this solution is optimal
- important when classical methods fail, only way to find is exhauting all solutions
how can the efficency of different packing methods be tested?
counting the number of comparisions needed in worst case
what is the complexit of the first fit and first fit decreasing algorithm , in the worst case?
o (n sqaured)
what is the complexity of the quick sort algorithm , in the worst case?
O (n squared)
What is big O notation?
Use quick sort to sort the following numbers in descending order
Use quick sort to sort the following numbers in descending order