Chapter 19 Flashcards
What is chain matrix multiplication
In multiple chain of given sequence matrices, where dimension also identified, determine the order of multiplication so that there will be minimum number of operations.
How much entries in matrix
theta (n square)
Each entry takes how much time in chain matrix multiplication
theta(1)
What is total running time in chain matrix multiplication
theta (n square)
Does matrix multiplication associative or commutative operation
Associative
What is Catalan numbers
The P(n) recurrence in chain matrix multiplication is related to a famous function called Catalan numbers. Catalan numbers are related to the number of different binary trees on n nodes.
What is catalan formula
C(n) = 1/n+1(2n n)
What will be the result of highest level of parenthesization we multiply two matrices
1..n