What is the optimal way to compute A1A2A3A4A5A6, where the dimensions of the matrices are A1: 10

Question:

What is the optimal way to compute A1A2A3A4A5A6, where the dimensions of the matrices are A1: 10 × 20, A2: 20 × 1, A3: 1 × 40, A4: 40 × 5, A5: 5 × 30, A6: 30 × 15?
Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: