edited by
333 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.

In computing, a floating point operation (flop) is any one of the following operations performed by a computer: addition, subtraction, multiplication, division. For example, the dot product of two vectors $(u,v,w).(x,y,z)=ux+vy+wz$ involves $3$ multiplications and $2$ additions, a total of $5$ flops.

Calculate the exact number of flops required computing $C=AB$ for two $5\times 5$ matrices $A$ and $B$ using a direct implementation of $c_{ij}=\displaystyle\sum^5 _{k=1} a_{ik} b_{kj}$. How does this number change if both the matrices are upper triangular?
edited by

1 Answer

Related questions

2 votes
2 votes
2 answers
3
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...
2 votes
2 votes
1 answer
4
soujanyareddy13 asked Jan 29, 2021
445 views
If $P$ is an invertible matrix and $A=PBP^{-1},$ then which of the following statements are necessarily true?$B=P^{-1}AP$$|A|=|B|$$A$ is invertible if and only if $B$ is ...