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
Vladimir Chalupecky
b8b45479d2
native: fix permuting in Dgebal for matrices of order 1
2016-09-23 11:23:42 +09:00
Vladimir Chalupecky
49a0da1f50
testlapack: add test for Dhseqr
2016-09-07 11:27:27 +09:00
Vladimir Chalupecky
cc184eac50
testlapack: return index from containsComplex and update tests
2016-09-07 11:27:27 +09:00
Vladimir Chalupecky
64a340e2db
testlapack: add copyGeneral utility function
2016-09-07 11:27:27 +09:00
Vladimir Chalupecky
39e68f8fcd
testlapack: add test for Dgebak
2016-09-01 10:06:42 +09:00
Vladimir Chalupecky
5a6eecdca0
testlapack: change randomSparseGeneral to unbalancedSparseGeneral
...
... and make it take the number of nonzeros instead of just the probability of
an element being nonzero.
2016-09-01 10:05:42 +09:00
Vladimir Chalupecky
d7cf7568de
native,testlapack: change Dlaqr4 into Dlaqr04
2016-08-31 10:39:03 +09:00
Vladimir Chalupecky
36c3beeaba
testlapack: add test for Dgebal
2016-08-30 10:39:56 +09:00
Vladimir Chalupecky
7f9a8f62e3
testlapack: add randomSparseGeneral and isUpperTriangular utility functions
2016-08-30 10:39:53 +09:00
Vladimir Chalupecky
b9dd614508
native: change Dlaqr2 into Dlaqr23
2016-08-29 20:19:39 +09:00
Vladimir Chalupecky
e6d67e3382
testlapack: add test for Dlaqr4
2016-08-29 11:39:55 +09:00
Vladimir Chalupecky
7f0eabc5a2
native,testlapack: reduce required length of wr and wi in Dlahqr
...
Dlahqr must not (and does not) write into wr and wi beyond ihi, so it only makes
sense to make the slices shorter. Dlaqr4 (the caller) will have the same restriction.
2016-08-29 11:39:52 +09:00
Vladimir Chalupecky
dde4ecd953
native,testlapack: fix wrong order of parameters in Dlaqr5
2016-08-29 11:39:52 +09:00
Vladimir Chalupecky
afbacb74f6
testlapack: use nil for slice arguments in workspace query in DormqrTest
2016-08-25 20:10:30 +09:00
Vladimir Chalupecky
4937e8ebf6
testlapack: modify test for Dormqr to trigger panic in Dlarfb.
...
See https://github.com/gonum/lapack/issues/176
2016-08-23 15:02:54 +09:00
Vladimir Chalupecky
b125291e21
native: check input slices to Dlaqr2, Dgehrd and Dormhr only after workspace query
...
so that it is possible to pass all slices as nil to those functions. A workspace
query should depend only on the input sizes, the matrices and vectors must
not be accessed anyway or may not be available at the call site. Moreover, often
the reference LAPACK uses arbitrary placeholders for arrays and relies on the
fact that no checking is done.
2016-08-20 11:05:19 +09:00
Vladimir Chalupecky
30aa278560
native,testlapack: fix docs and checks for correct size of T and W in Dlaqr2
2016-08-18 23:00:44 +09:00
Vladimir Chalupecky
eb1d558436
testlapack: add test for Dlaqr2
2016-08-18 07:10:06 +09:00
Vladimir Chalupecky
ea1e73995d
testlapack: rename isHessenberg to isUpperHessenberg
2016-08-18 06:31:47 +09:00
Vladimir Chalupecky
dc7d85e1a9
testlapack: remove isAnyNaN helper function
...
floats.HasNaN exists
2016-08-18 06:29:40 +09:00
Vladimir Chalupecky
310c3d8639
testlapack: clean up test for Dlahqr
2016-08-17 17:32:00 +09:00
Vladimir Chalupecky
11ac63edd6
testlapack: remove unneeded rnd parameter from testDlahqr
2016-08-17 17:26:38 +09:00
Vladimir Chalupecky
2a0753fab4
testlapack: add tests with known eigenvalues for Dlahqr
2016-08-17 17:26:38 +09:00
Vladimir Chalupecky
d093c738ed
testlapack: add some helper functions
2016-08-17 17:18:28 +09:00
Vladimir Chalupecky
1ad3375777
testlapack: extend test for Dlahq
...
... to check that Z^T*(initial H)*Z and (final H) are (approximately) equal if
wantz and wantt are both true.
2016-08-17 14:56:29 +09:00
Vladimir Chalupecky
33cac0c526
testlapack: add dlahqrTest struct and pass it to testDlahqr
...
... to allow testing with explicit Hessenberg matrices with known eigenvalues.
2016-08-17 14:56:29 +09:00