Determinants. The following problems define cofactors and minors of a square matrix; use them to evaluate a determinant.
A cofactor A(i, j ) of a matrix A is the product of the minor of a(i, j ) and the factor (−1)i + j . Write a function to compute a cofactor of a square matrix with four rows and four columns. The arguments should be the matrix A and the values of i and j . You may want to reference the function in problem Assume that the corresponding function prototype is
double cofactor(double a[][4], int i, int j);
The determinant of a square matrix A can be computed in the following way:
(a) Select any column.
(b) Multiply each element in the column by its cofactor.
(c) Add the products obtained in step (b).
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.