Commit Graph

166 Commits

Author SHA1 Message Date
kortschak
ce09d0a8a4 native: implement dtgsja and test 2017-02-24 06:47:37 +10:30
kortschak
51db706d3f native: implement dlags2 and test 2017-02-24 06:47:37 +10:30
Vladimír Chalupecký
117d5415fb Merge pull request #248 from gonum/cgo-dormbr-dormlq-tests
cgo: enable tests for Dormbr and Dormlq
2017-02-23 05:48:14 +01:00
Vladimir Chalupecky
63ca78b252 testlapack: use more stringent tolerance in DormbrTest 2017-02-22 16:33:16 +01:00
Vladimir Chalupecky
e1ca5e2a99 testlapack: fix work slice length in DormbrTest 2017-02-22 16:31:01 +01:00
kortschak
9bc10c65bd cgo,native: implement dgeqp3 and test 2017-02-22 16:19:21 +10:30
kortschak
52eecc0c38 native: implement dlaqps and test 2017-02-22 16:19:12 +10:30
kortschak
fadf409885 native: implement dlaqp2 and test 2017-02-22 16:19:07 +10:30
kortschak
238ef89b13 testlapack: ensure non-equality of NaN 2017-02-20 13:36:51 +10:30
Vladimir Chalupecky
3ead0bc971 testlapack: review comments for Dlatm1 2017-02-19 20:03:34 +01:00
Vladimir Chalupecky
5cd69473f3 testlapack: add Dlatm1 2017-02-19 20:03:34 +01:00
Vladimir Chalupecky
75214b39bd testlapack: reduce run time for DgehrdTest
These changes reduce the test run time on my machine from about 50s (unnecessarily
long) to about 1.6s:

- Use only 2 values for extra stride
- Reduce number of runs for randomized tests
- Use Dorgqr to extract the orthogonal matrix Q
2017-02-17 08:15:44 +01:00
Vladimir Chalupecky
022b399d09 testlapack: add test for Dlaswp 2017-02-08 06:35:04 +01:00
Vladimir Chalupecky
107d63b63b testlapack: test Dorgtr with minimum and medium work 2017-02-05 20:53:50 +01:00
Vladimir Chalupecky
ad7b4a7b7f testlapack: rewrite test for Dsytrd to remove its dependence on Dsytd2
Dsytd2 is not provided by LAPACKE and using blockedTranslate eliminates the
possibility to test the work slice.
2017-02-05 00:17:23 +01:00
kortschak
16f05891df cgo,native: implement dlapmt and dlapll, and tests 2017-01-28 10:39:53 +10:30
kortschak
6a2c601bf2 testlapack: fix typo 2017-01-23 11:09:59 +10:30
Vladimir Chalupecky
e8f80ec78d testlapack: add test for Dlapy2
Closes 210
2016-12-09 18:46:20 +01:00
Vladimir Chalupecky
cd1d0ca036 testlapack: add test for Dlascl
Closes #211
2016-12-09 18:46:10 +01:00
Vladimir Chalupecky
a912044cb0 testlapack: add test for Dlaset
Closes #212
2016-12-09 18:45:59 +01:00
Vladimir Chalupecky
2367434341 testlapack: add test for Dlasrt
Closes #213
2016-12-09 18:45:46 +01:00
Vladimir Chalupecky
77e56a422f testlapack: rewrite test for Dorgql
The test was using LAPACK routines that are not exposed by LAPACKE and therefore
the cgo implementation could not be tested.
2016-11-30 11:09:38 +01:00
Vladimir Chalupecky
42f8ea225e testlapack: add test for Dlacn2
Resolves #200
2016-11-10 09:12:52 +01:00
Vladimir Chalupecky
c2137cd073 testlapack: add missing copyright headers 2016-11-09 12:51:20 +01:00
Vladimir Chalupecky
50b349dace testlapack,native,cgo: build Dgeev benchmark conditioned on go1.7 tag 2016-10-26 22:04:58 +02:00
Vladimir Chalupecky
0722c36a93 testlapack: switch Dgeev benchmark to sub-benchmark structure 2016-10-25 22:36:19 +02:00
Vladimir Chalupecky
e18675c259 testlapack,native,cgo: add benchmark for Dgeev 2016-10-25 22:36:19 +02:00
Vladimir Chalupecky
10a17191c1 lapack,native,cgo: rename lapack.UpdateQ to UpdateSchur and change its type to EVComp 2016-10-14 00:38:37 +09:00
Vladimir Chalupecky
fd435a9071 lapack,native,cgo: remove lapack.UpdateZ and rename lapack.InitZ to lapack.HessEV 2016-10-14 00:38:37 +09:00
Vladimir Chalupecky
0c9ab78926 lapack,native: rename EigDecomp and EigBoth consts to OriginalEV and TridiagEV
As a side effect fix the documentation of Dsteqr which has the description
reversed.
2016-10-14 00:38:37 +09:00
Vladimir Chalupecky
c02fe3f6ff lapack,native,cgo: use lapack.EVComp instead of lapack.Comp in Dhseqr 2016-10-14 00:38:37 +09:00
Vladimir Chalupecky
e2a7d959d7 lapack,native,cgo: use lapack.EVJob instead of lapack.Job in Dhseqr 2016-10-14 00:38:37 +09:00
Vladimir Chalupecky
a219b045f0 lapack: rename EigComp to EVComp
This follows the naming style of EVJob and EVSide.
2016-10-14 00:38:37 +09:00
Vladimir Chalupecky
f3d79efebc lapack: remove EigValueOnly constant
'None' can be used instead.
2016-10-14 00:38:37 +09:00
Vladimir Chalupecky
78b6c8cef8 lapack: rename JobRightEV to RightEVJob, JobLeftEV to LeftEVJob 2016-10-07 15:26:13 +09:00
Vladimir Chalupecky
f4dbaaea62 lapack,native,cgo: rename JobEV to EVJob 2016-10-07 15:26:13 +09:00
Vladimir Chalupecky
fd57e99f9e native,cgo: change type of compq in Dtrexc from lapack.EigComp to lapack.Comp 2016-10-07 15:26:13 +09:00
Vladimir Chalupecky
efcc5f8fec native,cgo: replace lapack.EigComp with lapack.JobEV in Dsyev 2016-10-07 15:26:13 +09:00
Vladimir Chalupecky
a1bf1eaa04 lapack,native,cgo: abbreviate EigVec to EV 2016-10-07 15:26:13 +09:00
Vladimir Chalupecky
6225548ea5 testlapack: fix lwork in test for Dgeev 2016-10-07 12:45:36 +09:00
Vladimir Chalupecky
ee1b8334b2 testlapack: test Dgeev for intermediate workspace size 2016-10-05 11:36:39 +09:00
Vladimir Chalupecky
260feb5cb0 testlapack: add test for Dgeev with random matrices 2016-10-05 10:43:01 +09:00
Vladimir Chalupecky
fa74860f4a testlapack: add randomOrthogonal 2016-10-05 10:41:50 +09:00
Vladimir Chalupecky
58e97b9543 native,cgo,testlapack: add test for Dgeev 2016-10-05 10:41:41 +09:00
Vladimir Chalupecky
ff4f8609d3 testlapack: add test matrices for eigenvalue problems 2016-10-05 10:24:14 +09:00
Vladimir Chalupecky
aca21d339e testlapack: add rootsOfUnity help function 2016-10-05 10:24:14 +09:00
Vladimir Chalupecky
dfe8997264 native,cgo,testlapack: change type of side to lapack.SideEigVec in Dgebak 2016-09-29 16:03:56 +09:00
Vladimir Chalupecky
e4be9746c3 testlapack: add test for Dtrevc3 2016-09-29 15:47:53 +09:00
Vladimir Chalupecky
800ae9d9c1 testlapack: add auxiliary routines for checking eigenvectors 2016-09-29 15:47:50 +09:00
Vladimir Chalupecky
0bed66702d native,testlapack: fix Dlartg for g==0 and update its test 2016-09-28 13:28:11 +09:00