1 Answers

Matrix chain multiplication is an optimization problem concerning the most efficient way to multiply a given sequence of matrices. The problem is not actually to perform the multiplications, but merely to decide the sequence of the matrix multiplications involved. The problem may be solved using dynamic programming.

There are many options because matrix multiplication is associative. In other words, no matter how the product is parenthesized, the result obtained will remain the same. For example, for four matrices A, B, C, and D, there are five possible options:

Although it does not affect the product, the order in which the terms are parenthesized affects the number of simple arithmetic operations needed to compute the product, that is, the computational complexity. The straightforward multiplication of a matrix that is X × Y by a matrix that is Y × Z requires XYZ ordinary multiplications and XZ ordinary additions. In this context, it is typical to use the number of ordinary multiplications as a measure of the runtime complexity.

If A is a 10 × 30 matrix, B is a 30 × 5 matrix, and C is a 5 × 60 matrix, then

5 views

Related Questions

What is Germinal matrix?
1 Answers 4 Views
What is Blotting matrix?
1 Answers 4 Views
What is Multiplication?
1 Answers 4 Views
What is Leopold matrix?
1 Answers 4 Views
What is Matrix mixer?
1 Answers 6 Views
What is Block matrix?
1 Answers 4 Views
What is S-matrix?
1 Answers 4 Views
What is MET Matrix?
1 Answers 4 Views