... | @@ -409,9 +409,6 @@ def eliminate(A, src_row_idx, num_cols, num_rows): |
... | @@ -409,9 +409,6 @@ def eliminate(A, src_row_idx, num_cols, num_rows): |
|
|
|
|
|
matrix_XTX[row_i] = matrix_XTX[row_i] - s * matrix_XTX[i]
|
|
matrix_XTX[row_i] = matrix_XTX[row_i] - s * matrix_XTX[i]
|
|
matrix_XTY[row_i] = matrix_XTY[row_i] - s * matrix_XTY[i]
|
|
matrix_XTY[row_i] = matrix_XTY[row_i] - s * matrix_XTY[i]
|
|
|
|
|
|
# print("{:-^80}".format(f"Iteration #{i:}"))
|
|
|
|
# print_matrices(matrix_XTX, matrix_XTY)
|
|
|
|
```
|
|
```
|
|
|
|
|
|
|
|
|
... | | ... | |