Commit Graph

32 Commits

Author SHA1 Message Date
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
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
Dan Kortschak
937b367f5f testlapack: clean up lint 2019-11-07 19:57:05 +10: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
e9a50d6433 lapack/gonum: fix matrix slice length checks in banded functions 2019-08-02 10:40:26 +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
1ebd909faf lapack/testlapack: update implementation and docs of randSymBand helper 2019-06-14 19:31:40 +02:00
Vladimir Chalupecky
edc5a6c9aa lapack/testlapack: add svdJobString helper 2019-01-28 10:32:12 +01:00
Vladimir Chalupecky
e855e9fa8f lapack/testlapack: add hasOrthonormalRows helper 2019-01-28 10:32:12 +01:00
Vladimir Chalupecky
85a94c5204 lapack/testlapack: use worklen type in DgetriTest
... and make worklen type a Stringer.
2019-01-23 12:32:41 +01:00
Vladimir Chalupecky
08d9e7ed28 lapack/testlapack: change isIdentity to distFromIdentity 2019-01-19 00:28:03 +01:00
Vladimir Chalupecky
8323e5df1f lapack/testlapack: add sameLowerTri and sameUpperTri helpers 2019-01-04 23:08:42 +01:00
Vladimir Chalupecky
87489715e5 testlapack: add isIdentity helper 2019-01-04 23:08:42 +01:00
Brendan Tracey
572d9101fe blas64: add length field N to Vector
blas64: add length field N to Vector

Alongside, fix the implementation of mat.VecDense and mat.Diagonal, as well as other changes needed to fix this change.

Fixes #736.
2018-12-10 08:36:04 +00:00
Vladimir Chalupecky
6d5ac7aa26 lapack: rename DecompUpdate and add GenOrtho types and consts 2018-09-25 06:27:23 +02:00
Dan Kortschak
3f94af49e6 testlapack: quieten vet for unkeyed composite literals in importable code 2018-09-02 07:59:12 +09:30
Vladimir Chalupecky
929014505b blas/blas64: reorder struct fields
Reorder vector and matrix struct fields to match the order in which BLAS
routines accept them. This makes calls with inline declarations with
unnamed fields consistent and easier to understand.
2018-08-16 18:54:07 +02:00
Vladimir Chalupecky
19fd162bf9 lapack/testlapack: clean up hasOrthonormalColumns helper 2018-07-30 12:32:33 +02:00
Vladimir Chalupecky
99b6f69bff lapack/testlapack: move randomOrthogonal 2018-07-30 12:32:33 +02:00
Vladimir Chalupecky
6f49b3c58f lapack/testlapack: rename isOrthonormal to isOrthogonal 2018-07-30 12:32:33 +02:00
Vladimir Chalupecky
6c36e0d6b7 lapack/testlapack: clean up isOrthonormal 2018-07-30 12:32:33 +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
b3ce51cd98 Add Dpbtf2 for computing the (unblocked) Cholesky decomposition of ba… (#137)
* Add Dpbtf2 for computing the (unblocked) Cholesky decomposition of banded matrices

* respond to PR comments
2017-07-19 07:53:54 -06:00
kortschak
a1347c0243 all: fix spelling errors 2017-06-20 16:29:35 +09:30
kortschak
6557c5dc64 all: simplify code identified by gosimple 2017-06-20 15:04:11 +09:30
Vladimir Chalupecky
77c160c8f0 lapack/testlapack: remove some lint found by megacheck 2017-06-02 19:20:06 +02:00
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