Commit Graph

8 Commits

Author SHA1 Message Date
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
52906744a3 testlapack: allocate work only for MaxColumnSum in DlantrTest 2019-10-31 08:46:02 +01:00
Vladimir Chalupecky
01f78999a4 lapack/gonum: fix inf-norm computation for unit lower triangular matrices 2019-08-17 00:48:19 +02:00
Vladimir Chalupecky
c0cf10d539 lapack: rename NormFrob to Frobenius 2018-10-17 15:04:24 +02:00
kortschak
fa0c5aa7bc all: use golang.org/x/exp/rand instead of math/rand 2017-11-17 11:52:34 +10:30
kortschak
805531d142 all: change capitalization of gonum in license header 2017-11-02 06:54:08 +10:30
Brendan Tracey
d33397aa65 all: change import paths 2017-05-23 00:03:03 -06:00
Brendan Tracey
c474e8b33b lapack: imported lapack as a subtree 2017-05-23 00:02:46 -06:00