- #1
jinro
- 4
- 0
hi
i have this problem
this is part of my code, where i am scaling in guassian elimination
A4[a][c] = A[a][c]/t;
when i put printf A4 at the bottom, it shows the right element divided by t
when i put
A[a][c] = A4[a][c];
my output for my input when i scale becomes A[a][c]/t^2. i try to make another matrix A3, and used A3 = A4, it showed the right answer, but i can't make it work for A!
i have this problem
this is part of my code, where i am scaling in guassian elimination
A4[a][c] = A[a][c]/t;
when i put printf A4 at the bottom, it shows the right element divided by t
when i put
A[a][c] = A4[a][c];
my output for my input when i scale becomes A[a][c]/t^2. i try to make another matrix A3, and used A3 = A4, it showed the right answer, but i can't make it work for A!