Question: (a) Write a pseudo-code for a function that computes the product of two lower triangular matrices. Initialize the product as a zero matrix and compute

(a) Write a pseudo-code for a function that computes the product of two lower triangular matrices. Initialize the product as a zero matrix and compute only the elements on and below the diagonal.
(b) Compute the number of FLOPs it takes to complete the function on part (a) as a function of the number of rows n of the input matrices.
A special property of lower triangular, square matrices is that the product of two lower triangular matrices is also lower triangular. To be precise, if Aij = 0 for j > i and Bij = 0 for j> i than C = AB satisfies Cij = 0 for j>i
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
