Commit Graph

169 Commits

Author SHA1 Message Date
Vladimir Chalupecky
cdda7148b1 testlapack: move local implementations of Lapack functions to separate file 2020-10-27 09:16:20 +01:00
Vladimir Chalupecky
6703b9cb87 lapack: add Dgtsv 2020-10-27 09:16:20 +01:00
Vladimir Chalupecky
d989c50285 lapack: add Dlagtm 2020-10-22 18:20:11 +02:00
Vladimir Chalupecky
ec417b4211 lapack: add Dlangt 2020-10-21 07:09:25 +02:00
Vladimir Chalupecky
83e82da42f testlapack: don't output matrix contents in DlantbTest 2020-10-21 07:09:25 +02:00
Vladimir Chalupecky
de0df9a812 lapack/gonum: fix underflow in Dlanv2 2020-10-03 15:32:29 +02:00
Vladimir Chalupecky
44dd7ff458 testlapack: add default cases to local dlan?? functions 2020-09-30 10:56:51 +02:00
Vladimir Chalupecky
eea0b5cb5c testlapack: add test for Dtbtrs 2020-09-30 10:56:51 +02:00
Vladimir Chalupecky
aacdd93956 testlapack: add test for Dtrtrs 2020-09-29 09:19:16 +02:00
Vladimir Chalupecky
cdf8275b3f testlapack: use helpers to name sub-tests 2020-08-20 01:18:56 +02:00
Vladimir Chalupecky
b5dc2156b0 testlapack: use f64.L2NormUnitary in dlange helper 2020-08-15 01:33:40 +02:00
Vladimir Chalupecky
8a55f67cf4 testlapack: add benchmark for Dlantb 2020-08-15 01:33:40 +02:00
Vladimir Chalupecky
5c397b631c lapack/gonum,lapack64: add Dlantb 2020-08-15 01:33:40 +02:00
Vladimir Chalupecky
b5c2b0d807 testlapack: implement Frobenius in dlange helper 2020-08-15 01:33:40 +02:00
Vladimir Chalupecky
c357261fd9 lapack/gonum: propagate NaN from Dcombssq 2020-08-15 01:33:40 +02:00
Vladimir Chalupecky
90f4be8768 lapack/testlapack: add some helpers 2020-08-15 01:33:40 +02:00
Dan Kortschak
da72779e7a floats/scalar: new package containing non-vector functions from floats 2020-08-07 07:59:02 +09:30
Vladimir Chalupecky
f702758118 testlapack: add dlansb helper and use it in DpbconTest 2020-03-29 13:15:31 +02:00
Dan Kortschak
32189f28b7 lapack: use binary exponent float constants 2020-02-26 11:41:24 +10:30
Vladimir Chalupecky
de969dc2da testlapack: remove unused equalApprox helper 2020-02-23 09:15:54 +01:00
Vladimir Chalupecky
459cb8bec3 testlapack: remove unused helpers 2020-02-23 09:15:54 +01:00
Vladimir Chalupecky
8928ea27e9 testlapack: move and document residualOrthogonal 2020-02-23 09:15:54 +01:00
Vladimir Chalupecky
25a8a664a4 testlapack: replace isOrthogonal with residualOrthogonal 2020-02-23 09:15:54 +01:00
Vladimir Chalupecky
2786b46b92 testlapack: rework DgerqfTest 2020-02-23 09:15:54 +01:00
Vladimir Chalupecky
580023157c testlapack: rework Dgerq2Test 2020-02-23 09:15:54 +01:00
Vladimir Chalupecky
5666e1d767 testlapack: rework Dgeqr2Test 2020-02-23 09:15:54 +01:00
Vladimir Chalupecky
6f5fb37b77 testlapack: rework Dgeqp3Test 2020-02-23 09:15:54 +01:00
Vladimir Chalupecky
3973e30147 testlapack: print byte constants as chars 2020-02-22 09:15:10 +01:00
Vladimir Chalupecky
16e319c960 testlapack: use residualOrthogonal helper in Dorg2lTest and DgesvdTest 2020-02-21 22:42:22 +01:00
Vladimir Chalupecky
315a975e1d testlapack: use bad matrices in tests for Dtrexc and Dlaexc 2020-02-17 11:47:50 +01:00
Vladimir Chalupecky
887ddf9cc3 testlapack: rework test for Dlaexc 2020-02-17 11:47:50 +01:00
Vladimir Chalupecky
14cb76f5d8 testlapack: small cleanup in DtrexcTest 2020-02-17 11:47:50 +01:00
Vladimir Chalupecky
ec45d4d55c testlapack: simplify isSchurCanonical 2020-02-13 10:23:10 +01:00
Vladimir Chalupecky
3dada2a439 testlapack: rework DtrexcTest 2020-02-13 10:23:10 +01:00
Vladimir Chalupecky
50c8ada1af testlapack: extend isSchurCanonical helpers 2020-02-13 10:23:10 +01:00
Vladimir Chalupecky
606c8c53ff testlapack: add parameter to randomSchurCanonical to generate bad matrices 2020-02-13 10:23:10 +01:00
Vladimir Chalupecky
aafb56522f lapack/gonum,testlapack: fix bug in Dtrevc3 and rework its test 2020-02-13 10:23:10 +01:00
Vladimir Chalupecky
133b3496e8 testlapack: add equalGeneral helper 2020-02-13 10:23:10 +01:00
Vladimir Chalupecky
1caee46e06 testlapack: extend randomSchurCanonical helper
- generate "bad" matrices with zero and tiny eigenvalues
- return eigenvalues read from the diagonal of generated matrix
2020-02-13 10:23:10 +01:00
Vladimir Chalupecky
489fd3c18f testlapack: rework DlarfTest 2020-02-05 10:52:10 +01:00
Vladimir Chalupecky
c8be30b70e testlapack: rework eigenvector checks in DgeevTest and adjust tolerances 2020-02-03 17:46:38 +01:00
Vladimír Chalupecký
a84dbb2e4f testlapack: adjust some tolerances (#1224) 2020-01-27 10:06:36 +01:00
Vladimir Chalupecky
dfc35ef41f lapack/testlapack: don't test unsupported matrix sizes in DlantrTest
The documentation for DLANTR in Reference-LAPACK says that the input
matrix should not be tall if upper triangular and not wide if lower
triangular. In most cases providing such "invalid" sizes is harmless and
DLANTR works correctly. However, when computing the inf-norm of lower
triangular matrices it currently causes an out-of-bound write if the
work array is shorter than the number of columns. Even if the reference
fixes this, we cannot assume when or if at all other LAPACK
implementation providers include it (both OpenBLAS and MKL have this
issue, obviously OpenBLAS being much easier to fix). Therefore, the
restriction on matrix sizes will have to stay in the reference
documentation and we should exlude them from our testing.
2019-12-23 13:34:54 +01:00
Vladimir Chalupecky
99c9c9662f lapack/testlapack: remove tests for Dlasq{3,4,5} with internal testdata 2019-12-19 00:01:06 +01:00
Vladimir Chalupecky
b4389a478b lapack/testlapack: rework Dlasq2 test
... so that it doesn't use precomputed data.
2019-12-18 10:19:34 +01:00
Vladimir Chalupecky
55b691b581 lapack/testlapack: rework Dlasq1Test 2019-12-15 09:12:19 +01:00
Vladimir Chalupecky
1d69e6a999 lapack/testlapack: avoid NaN in DsterfTest when n=1 2019-12-15 09:12:19 +01:00
Vladimir Chalupecky
f622cf2280 lapack/testlapack: remove dlaqr5data.json.gz 2019-12-12 21:28:05 +01:00
Vladimir Chalupecky
369d280772 lapack/testlapack: clean up DsterfTest 2019-12-03 11:18:39 +01:00
Vladimir Chalupecky
54be3505db lapack/internal: remove Fortran code for generating Dsterf test case 2019-12-01 09:53:38 +01:00