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
Vladimir Chalupecky
fe37b7a3cb
lapack/testlapack: remove JSON-based part of Dlaqr5Test
2019-11-30 22:32:03 +01:00
Vladimir Chalupecky
9914f3aa6e
lapack/testlapack: remove JSON-based part of Dlahr2Test
2019-11-30 20:29:02 +01:00
Dan Kortschak
4fb6057349
lapack/gonum: run tests in parallel
2019-11-18 20:52:37 +08:00
Dan Kortschak
b34a300801
all: fix capitalisation of Gonum
...
This fixes the capitalisation of Gonum where it refers to the project rather
than the GitHub organisation or repository. The text of CONTRIBUTORS also
is fixed to reflect the reality that contributors may have contributed to
other repositories within the project.
2019-11-16 21:25:28 +10:30
Dan Kortschak
937b367f5f
testlapack: clean up lint
2019-11-07 19:57:05 +10:30
Vladimir Chalupecky
52906744a3
testlapack: allocate work only for MaxColumnSum in DlantrTest
2019-10-31 08:46:02 +01:00
Dan Kortschak
1d8f8b2ee4
all: address issues identified by golangci-lint
2019-09-09 07:38:44 +09:30
Dan Kortschak
17ea55aedb
blas,lapack: clean up docs and comments
...
Apply (with manual curation after the fact):
* s/^T/U+1d40/g
* s/^H/U+1d34/g
* s/, {2,3}if / $1/g
Some additional manual editing of odd formatting.
2019-09-06 20:02:29 +09:30
Vladimir Chalupecky
01f78999a4
lapack/gonum: fix inf-norm computation for unit lower triangular matrices
2019-08-17 00:48:19 +02:00
Vladimir Chalupecky
7584990dc8
lapack/testlapack: rework test for Dtrcon
2019-08-17 00:48:19 +02:00
Vladimir Chalupecky
0436873561
lapack/gonum: use Dcombssq (and Dlassq) in Dlange, Dlansy, Dlantr
2019-08-16 11:05:05 +02:00
Vladimir Chalupecky
cd1e4b9660
lapack/testlapack: fix spelling
2019-08-15 11:55:37 +02:00
Vladimir Chalupecky
8b91875836
lapack/gonum: add Dlansb with test
2019-08-15 11:55:37 +02:00
Vladimir Chalupecky
b720316f92
lapack/gonum: add Dcombssq with test
2019-08-15 11:55:37 +02:00
Vladimir Chalupecky
d3a6f40645
lapack/testlapack: add test for Dlassq
2019-08-15 11:55:37 +02:00
Vladimir Chalupecky
0242537858
lapack/testlapack: rewrite test for Dgecon from table-based to randomized
2019-08-15 09:46:50 +02:00
Vladimir Chalupecky
33540c531c
lapack/testlapack: fix test for Dpbcon
2019-08-15 09:46:50 +02:00
Vladimir Chalupecky
9c10b50738
lapack/gonum: refactor inner loop in Dpbcon
2019-08-03 09:39:02 +02:00
Vladimir Chalupecky
3cac0797bd
lapack/testlapack: add test for Dpbcon
2019-08-03 09:39:02 +02:00
Vladimir Chalupecky
5e114941f3
lapack/gonum: add Dpbcon
2019-08-03 09:39:02 +02:00
Vladimir Chalupecky
e9a50d6433
lapack/gonum: fix matrix slice length checks in banded functions
2019-08-02 10:40:26 +02:00
Vladimir Chalupecky
516002632a
testlapack/gonum: address PR comments
2019-08-01 12:05:23 +02:00
Vladimir Chalupecky
9fe5dd93fa
lapack/gonum: simplify logic for transposed case in Dlatbs
2019-08-01 12:05:23 +02:00
Vladimir Chalupecky
6cd269eb0d
lapack/gonum: address PR comments for Dlatbs
2019-08-01 12:05:23 +02:00
Vladimir Chalupecky
0803f6791e
lapack/testlapack: add test for Dlatbs
2019-08-01 12:05:23 +02:00
Vladimir Chalupecky
1fb24f4bf7
lapack/testlapack: add dlattb helper
2019-08-01 12:05:23 +02:00
Vladimir Chalupecky
093cb9b28a
lapack/gonum: add Dlatbs
2019-08-01 12:05:23 +02:00
Vladimir Chalupecky
0991127588
lapack/gonum: extend docs for Dpbtrs
2019-06-17 12:52:28 +02:00
Vladimir Chalupecky
d7f6bfa9af
lapack/testlapack: remove unused SymBand helpers
2019-06-17 12:52:28 +02:00
Vladimir Chalupecky
ce6986a678
lapack/testlapack: simplify randSymBand and use it in Dpb* tests
2019-06-17 12:52:28 +02:00
Vladimir Chalupecky
e307a7a43c
lapack/testlapack: test Dpbtf2 like Dpbtrf
2019-06-17 12:52:28 +02:00
Vladimir Chalupecky
7895aa8c2a
lapack/testlapack: add test for Dpbtrs
2019-06-17 12:52:28 +02:00
Vladimir Chalupecky
fce8621a32
lapack/gonum: add Dpbtrs
2019-06-17 12:52:28 +02:00
Vladimir Chalupecky
2bf3099108
lapack/testlapack: add test for Dpbtrf
2019-06-14 19:31:40 +02:00
Vladimir Chalupecky
7266ee9df4
lapack/gonum: add Dpbtrf
2019-06-14 19:31:40 +02:00
Vladimir Chalupecky
1ebd909faf
lapack/testlapack: update implementation and docs of randSymBand helper
2019-06-14 19:31:40 +02:00
Vladimir Chalupecky
87a957a356
lapack/gonum: fix Ilaenv for DPBTRF
2019-06-14 19:31:40 +02:00
Vladimir Chalupecky
47d77d149e
lapack/gonum: clean up implementation comments in Dpbtf2
2019-06-14 19:31:40 +02:00
Vladimir Chalupecky
3db45405ae
lapack/gonum: remove duplicate slice length check in Dlange
2019-06-14 19:31:40 +02:00
Dan Kortschak
8da9ad2821
lapack/gonum: add TODO for dlamchE and dlamchS literals
2019-05-10 07:04:46 +09:30
Dan Kortschak
3d26580ed4
lapack/testlapack: replace all literal constants in dgesvdTest with tol expressions
2019-04-01 06:30:53 +10:30
Dan Kortschak
a4ad4d254f
all: run go fmt ./...
2019-03-31 13:31:35 +10:30