edited by
329 views
0 votes
0 votes

For numerical answers, the following forms are acceptable: fractions, decimals, symbolic e.g.:$\left( \begin{array}{c} n \\ r \end{array} \right)^n P_r , n!$ etc.

Suppose $A,B$ and $C$ are $m\times m$ matrices. What does the following algorithm compute? (Here $A(i,j)$ denotes the $(i.j)^{th}$  entry of matrix $A$.)

for i=1 to m
    for j=1 to m
        for k=1 to m
            C(i,j)=A(i,k)*B(k,j)+C(i,j)
        end
    end
end

 

edited by

2 Answers

Related questions

2 votes
2 votes
2 answers
2
soujanyareddy13 asked Jan 29, 2021
374 views
Let $x=\begin{bmatrix} 3& 1 & 2 \end{bmatrix}$. Which of the following statements are true?$x^Tx$ is a $3\times 3$ matrix$xx^T$ is a $3\times 3$ matrix$xx^T$ is a $1\time...
0 votes
0 votes
3 answers
4
soujanyareddy13 asked Jan 29, 2021
604 views
Let $A=\begin{bmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{bmatrix}, B=\begin{bmatrix} 1 & 4 & 7 \\ 2 & 5 & 8 \\ 3 & 6 & 9 \end{bmatrix}, C=\begin{bmatrix} 4 & 5 & 6...