Commit Graph

11 Commits

Author SHA1 Message Date
Vladimir Chalupecky
cc184eac50 testlapack: return index from containsComplex and update tests 2016-09-07 11:27:27 +09:00
Vladimir Chalupecky
7f0eabc5a2 native,testlapack: reduce required length of wr and wi in Dlahqr
Dlahqr must not (and does not) write into wr and wi beyond ihi, so it only makes
sense to make the slices shorter. Dlaqr4 (the caller) will have the same restriction.
2016-08-29 11:39:52 +09:00
Vladimir Chalupecky
ea1e73995d testlapack: rename isHessenberg to isUpperHessenberg 2016-08-18 06:31:47 +09:00
Vladimir Chalupecky
310c3d8639 testlapack: clean up test for Dlahqr 2016-08-17 17:32:00 +09:00
Vladimir Chalupecky
11ac63edd6 testlapack: remove unneeded rnd parameter from testDlahqr 2016-08-17 17:26:38 +09:00
Vladimir Chalupecky
2a0753fab4 testlapack: add tests with known eigenvalues for Dlahqr 2016-08-17 17:26:38 +09:00
Vladimir Chalupecky
1ad3375777 testlapack: extend test for Dlahq
... to check that Z^T*(initial H)*Z and (final H) are (approximately) equal if
wantz and wantt are both true.
2016-08-17 14:56:29 +09:00
Vladimir Chalupecky
33cac0c526 testlapack: add dlahqrTest struct and pass it to testDlahqr
... to allow testing with explicit Hessenberg matrices with known eigenvalues.
2016-08-17 14:56:29 +09:00
Vladimir Chalupecky
4c78a4dea7 testlapack: update test for Dlahqr 2016-08-15 14:44:53 +09:00
Vladimir Chalupecky
a8773d9d7d native: add indicator of convergence to returned values from Dlahqr
Previously, the zero value of the returned integer info was used to indicate
success. This is wrong because it is a 0-based index unlike the reference LAPACK
where it is a 1-based index and therefore 0 is available for such purpose. This
commit adds `converged bool` to the returned values from Dlahqr.
2016-08-09 16:28:58 +09:00
Vladimir Chalupecky
a707fd7aae testlapack: add DlahqrTest 2016-06-24 09:46:16 +09:00