Computational Physics, Python, Linear Algebra, Math, Mathematics.
sum of the differences between the fit and the actual data points. We can represent the data points with a matrix equations: Note that here the matrix A represents the values of the coefficients. The column of 1 correspond to the intercepts (without it the fit would have the constraint to cross the