Unless the A matrix is very sparse, you will not be able to solve the initial system of equations directly. Methods to solve a system of equations for the vector of unknowns involve changing the A matrix into a form such that the unknowns can be solved for directly. The process of converting the A matrix makes use of three linear algebra relations ”
All of the methods discussed in this chapter overwrite the original A matrix during the solution process. If you want to retain the original A matrix, you will have to make a copy of it before solving the system of equations. |