Question: Algorithm Consider the following function CheckProds (A, B, C > >) where A is a 2D array of size (1: n. 1: n) and B
Consider the following function CheckProds (A, B, C > >) where A is a 2D array of size (1: n. 1: n) and B and C are vectors of size (1: n), n a positive integral. The body of CheekSums implements the following computations: B (i) - A (i, 1)* A (1, 2)* A (1, 3)* *A (1, n) C (i) - A (1, 1) * A (2, 1) * A (3, 1) * * A (n, i) (a) Given the complete function CheckProds (A, B, C), including in particular the code of the function body and the method of passing the three parameters. (b) Determine for your function in addition to the space for the actual parameters)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
