Commit Graph

253 Commits

Author SHA1 Message Date
Vladimir Chalupecky
a9c58dba17 lapack64: add Lansb and Lantb 2020-09-28 09:54:56 +02:00
Vladimir Chalupecky
9c9ecbc337 lapack64: add Pbcon 2020-09-28 09:54:56 +02:00
Vladimir Chalupecky
fabd9d03e9 lapack/gonum: fix typo in comment for Dlacpy 2020-09-28 09:54:56 +02:00
Vladimir Chalupecky
cdf8275b3f testlapack: use helpers to name sub-tests 2020-08-20 01:18:56 +02:00
Vladimir Chalupecky
085e2bc63c lapack,lapack64: remove Dlansb and Dlantb from Float64
These two routines are not provided by LAPACKE and therefore
should not be part of the Float64 interface.

Closes #1428
2020-08-19 11:50:05 +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
a371667eb3 lapack64: add Pbtrs 2020-03-30 10:19:29 +02:00
Vladimir Chalupecky
26da121ab7 lapack64: add Pbtrf 2020-03-30 10:19:29 +02:00
Vladimir Chalupecky
3fc850e845 lapack64: add Lansb 2020-03-30 10:19:29 +02:00
Vladimir Chalupecky
9d7b98d9e6 lapack: add Dpb functions to Float64 interface 2020-03-29 13:15:31 +02:00
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
b5d31a9a76 lapack: set strictly lower triangle in Dlaset 2020-02-21 22:39:18 +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
4ad776159b lapack/gonum: fix bug in Dlanv2 2020-02-15 16:36:59 +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
5b18cb25e3 lapack/gonum: fix docs for Dtrevc3 2020-02-13 10:23:10 +01:00
Vladimir Chalupecky
d73426bd99 lapack/gonum: clean up Dlarf and its docs 2020-02-05 10:52: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
Vladimir Chalupecky
2ad307629d lapack/gonum: fix typo in docs for Dgeev 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