There are 2 methods to solve a system of linear equations: direct methods and iterative methods. In this article, we will use the direct methods, in particular, Gauss-method. How to Solve a System of Linear Equations? Since most often time we work with data with many features (or variables).