Commit Graph

14 Commits

Author SHA1 Message Date
Dan Kortschak
5f0141ca4c all: run gofmt and generate all packages
Changes made in dsp/fourier/internal/fftpack break the formatting used
there, so these are reverted. There will be complaints in CI.

[git-generate]
gofmt -w .
go generate gonum.org/v1/gonum/blas
go generate gonum.org/v1/gonum/blas/gonum
go generate gonum.org/v1/gonum/unit
go generate gonum.org/v1/gonum/unit/constant
go generate gonum.org/v1/gonum/graph/formats/dot
go generate gonum.org/v1/gonum/graph/formats/rdf
go generate gonum.org/v1/gonum/stat/card

git checkout -- dsp/fourier/internal/fftpack
2022-08-06 07:05:17 +09:30
Vladimir Chalupecky
8c7f0017f9 testlapack: consolidate floating-point constants 2021-05-29 11:16:29 +02:00
Vladimir Chalupecky
16e319c960 testlapack: use residualOrthogonal helper in Dorg2lTest and DgesvdTest 2020-02-21 22:42:22 +01:00
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
Dan Kortschak
3d26580ed4 lapack/testlapack: replace all literal constants in dgesvdTest with tol expressions 2019-04-01 06:30:53 +10:30
Dan Kortschak
6e8fec6a0c lapack/testlapack: make DgesvdTest take a tolerance parameter 2019-03-30 18:25:20 +10:30
Vladimir Chalupecky
dca16df666 lapack/gonum: fix bugs in Dgesvd and rewrite DgesvdTest
- if condition for one the paths in workspace size calculation was
  misspelled
- return value from Dbdsqr was ignored in some paths, leaving it at
  false (failed) value
- if the input matrix A was rescaled, the output singular values have
  to be unscaled back. The code uses Dlascl which treats the s slice as
  a matrix. The column major reference treats it as minmn-by-1 matrix
  with the stride minmn, and this was not correctly translated in our
  row major implementation.

Also clean up the initial parameter checks.
2019-01-28 10:32:12 +01:00
Vladimir Chalupecky
3a1f3daf9f lapack,mat: rename SVDInPlace constant to SVDStore 2018-10-17 15:04:24 +02:00
Vladimir Chalupecky
6f49b3c58f lapack/testlapack: rename isOrthonormal to isOrthogonal 2018-07-30 12:32:33 +02:00
Vladimir Chalupecky
6cb44aa022 lapack/testlapack: use isOrthonormal instead of ad hoc checks 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
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