diff options
| author | y-jan137 <yousefjan24000@gmail.com> | 2026-03-15 14:08:51 +0300 |
|---|---|---|
| committer | y-jan137 <yousefjan24000@gmail.com> | 2026-03-15 14:08:51 +0300 |
| commit | 606ad99e8363bd520506ea2e88b831911fe03c18 (patch) | |
| tree | 47a422beed4a53005d4dfdc7c9dab5aa6325274d /experiments/hilbert_qr.cpp | |
| parent | be01607041d2ded41e5bf39a0a8e17ffb9bcc296 (diff) | |
Add QR iteration algos
Diffstat (limited to 'experiments/hilbert_qr.cpp')
| -rw-r--r-- | experiments/hilbert_qr.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/experiments/hilbert_qr.cpp b/experiments/hilbert_qr.cpp index 218b35c..f30d2ac 100644 --- a/experiments/hilbert_qr.cpp +++ b/experiments/hilbert_qr.cpp @@ -66,7 +66,6 @@ double orthogonality_error(const QRResult& qr) { using Clock = std::chrono::high_resolution_clock; using Seconds = std::chrono::duration<double>; -// Run fn() `trials` times, return minimum elapsed seconds. template<typename Fn> double min_time(Fn fn, int trials = 5) { double best = 1e18; @@ -116,7 +115,7 @@ void print_row(const std::string& method, std::optional<Result> r) { int main() { std::cout << std::string(70, '*') << "\n"; - std::cout << " Hilbert QR Experiment — comparing GS variants and Householder\n"; + std::cout << " Hilbert QR Experiment: comparing GS variants and Householder\n"; std::cout << std::string(70, '*') << "\n\n"; std::cout << "H[i][j] = 1/(i+j+1). Condition number grows ~exponentially with n.\n" |