|
From: | Markus Mützel |
Subject: | [Octave-bug-tracker] [bug #61246] matrix inversions give wrong results (inv, lu, mldivide) |
Date: | Thu, 30 Sep 2021 08:11:18 -0400 (EDT) |
User-agent: | Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.61 Safari/537.36 Edg/94.0.992.31 |
Follow-up Comment #5, bug #61246 (project octave): For me on Windows 10 with Octave 6.3.0 (32bit) using reference BLAS: >> version -blas ans = unknown or reference BLAS >> n = 7; >> randn('seed',1); >> a = randn(n); >> x = (1:n)'; >> b = a * x; >> r = x - a \ b r = 1.7764e-15 3.5527e-15 -1.3323e-15 -3.5527e-15 -8.8818e-16 2.6645e-15 -2.6645e-15 And the same with OpenBLAS: >> version -blas ans = OpenBLAS (config: OpenBLAS 0.3.13 NO_LAPACK NO_LAPACKE DYNAMIC_ARCH NO_AFFINITY Nehalem MAX_THREADS=24) >> n = 7; >> randn('seed',1); >> a = randn(n); >> x = (1:n)'; >> b = a * x; >> r = x - a \ b r = 4.6629e-15 1.0214e-14 2.6645e-15 -7.9936e-15 -1.7764e-15 1.7764e-15 -5.3291e-15 I don't see the large deviations you are using. My CPU: >> system('wmic CPU GET Name') Name Intel(R) Core(TM) i5-4690 CPU @ 3.50GHz _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?61246> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |