MCQ2 marks
Assume that multiplying a matrix of dimension with another matrix of dimension requires scalar multiplications. Computing the product of n matrices can be done by parenthesizing in different ways. Define as an explicitly computed pair for a given paranthesization if they are directly multiplied. For example, in the matrix multiplication chain using parenthesization , and are the only explicitly computed pairs.
Consider a matrix multiplication chain , where matrices and are of dimensions 2×25, 25×3, 3×16, 16×1 and 1×1000, respectively. In the parenthesization of that minimizes the total number of scalar multiplications, the explicitly computed pairs is/are
Single correct