... | ... | @@ -412,12 +412,9 @@ def eliminate(A, src_row_idx, num_cols, num_rows): |
|
|
|
|
|
# print("{:-^80}".format(f"Iteration #{i:}"))
|
|
|
# print_matrices(matrix_XTX, matrix_XTY)
|
|
|
|
|
|
_backsolve(matrix_XTX, matrix_XTY)
|
|
|
|
|
|
return matrix_XTY
|
|
|
```
|
|
|
|
|
|
|
|
|
### Backsolve
|
|
|
|
|
|
**Pseudocode**
|
... | ... | |