Determinants. The following problems define cofactors and minors of a square matrix and then use them to evaluate a determinant.
A cofactor Ai,j of a matrix A is the product of the minor ai,j of 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 andj. You may want to reference the function in Problem. Assume that the corresponding function prototype is:
double cofactor(double a[4][4],int i,int j);
Problem
The minor of an element ai,j of a matrix A is the determinant of the matrix obtained by removing the row and column to which the given element ai,j belongs. Thus, if the original matrix has four rows and columns, the minor is the determinant of a matrix with three rows and columns. Write a function to compute the minor of a square matrix with four rows and four columns. The input arguments should be the matrix A and the values of Iand j. Assume that the corresponding function prototype is
double minor(double a[4][4],int i,int j);
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.