You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Function invert() use four parts(search, swap, compute, scale) in a loop to solve the inverse of a matrix.
But the a(j, j) in the code "T c = 1 / a(j, j);" of the scale part sometimes equals to 0.
for example:
[[3,1,0],[2,1,1],[1,0,0]]
In my opinion, scale part need to be used after the loop to ensure all a(j,j)!=0.
The text was updated successfully, but these errors were encountered:
Function invert() use four parts(search, swap, compute, scale) in a loop to solve the inverse of a matrix.
But the a(j, j) in the code "T c = 1 / a(j, j);" of the scale part sometimes equals to 0.
for example:
[[3,1,0],[2,1,1],[1,0,0]]
In my opinion, scale part need to be used after the loop to ensure all a(j,j)!=0.
The text was updated successfully, but these errors were encountered: