Question: 3. ALGORITHM JAZAN(A[0..m - 1, 0..m] ) //Input: An m (m + 1) matrix A[0..m - 1, 0..m] of real numbers for i 0 to
3. ALGORITHM JAZAN(A[0..m - 1, 0..m] ) //Input: An m (m + 1) matrix A[0..m - 1, 0..m] of real numbers for i 0 to m - 2 do for j i + 1 to m - 1 do for k i to m do A[j, k] A[j, k] - A[i, k] * A[j, i] /A[i, i]
a) What does this algorithm compute?
b) What is its basic operation?
c) How many times is the basic operation executed?
d) What is the efficiency class of this algorithm?
![3. ALGORITHM JAZAN(A[0..m - 1, 0..m] ) //Input: An m (m +](https://s3.amazonaws.com/si.experts.images/answers/2024/09/66ddccdc3f62b_93166ddccdbd6d15.jpg)
ALGORITHM JAZAN(A[0..m - 1, 0..m] ) //Input: An m(m+1) matrix A[0.m - 1, 0.m] of real numbers for i0 to m2 do for ji+1 to m1 do for ki to m do A[j,k]A[j,k]A[i,k]A[j,i]/A[i,i] a) What does this algorithm compute? b) What is its basic operation? c) How many times is the basic operation executed? d) What is the efficiency class of this algorithm
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
