tutorial is finished: a bug in numethods (QRHouseholder) is resolved.

This commit is contained in:
2025-09-14 12:22:38 +03:00
parent 32b2576097
commit cabd2d9528
3 changed files with 27 additions and 24 deletions

View File

@@ -89,7 +89,7 @@ class QRHouseholder:
s = sum(v[i] * self.Q.data[j][k + i] for i in range(len(v)))
for i in range(len(v)):
self.Q.data[j][k + i] -= 2 * s * v[i]
self.Q = self.Q.transpose()
# self.Q = self.Q.transpose()
class QRSolver: