Question: / return y =Ax*/ int *vector(int **A, int *x, int n) { int *y = malloc(n * sizeof(int)); inti, j; for(i=0;i
/" return y =Ax*/
- int *vector(int **A, int *x, int n) {
- int *y = malloc(n * sizeof(int));
- inti, j;
- for(i=0;i
- for U = 0; j < n; j++)
6. y[i] += A[i][j] * x[j];
7. return y;
}
what are the errors in c code
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
