Commit Graph

18 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
Dan Kortschak
efbee9bf28 mat: rename pool helpers to be consistent with type names 2021-05-27 17:07:31 +09:30
Vladimir Chalupecky
7c6ff0e291 mat: update docs for SVD.SolveTo and SVD.SolveVecTo 2020-07-10 16:37:50 +02:00
Dan Kortschak
48db94ddb5 mat: add SolveTo and SolveVecTo to SVD 2020-07-01 10:57:37 +09:30
Dan Kortschak
2e07c45a48 mat: fix typo in SVD VTo check 2020-05-04 17:34:24 +09:30
Vladimir Chalupecky
bcfb93e049 mat: clean up docs 2019-09-22 18:24:17 +02:00
Brendan Tracey
16f4144126 mat: Change methods to accept empty instead of nil matrices (#1090)
* mat: Change methods to accept empty instead of nil matrices

While here, fix enough to compile.

Updates #1081.
2019-09-20 19:19:07 +01:00
Brendan Tracey
cd52c4d030 mat: Expose ReuseAs method to help resizing (#1082)
* mat: Expose ReuseAs method to help resizing

Fixes #963
2019-09-14 09:17:29 +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
Vladimir Chalupecky
84f7bdec00 lapack/lapack64: call lapack functions with stride always at least 1 2019-03-27 06:17:51 +01:00
Brendan Tracey
1d8caee34e mat: change factorization inputs to use bit types (#872)
* mat: change factorization inputs to use bit types

Fixes #756 and #748.
2019-03-23 17:20:14 +00:00
Vladimir Chalupecky
18ea2aa99a mat: update documentation for SVD 2019-02-10 08:39:11 +01:00
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
kortschak
805531d142 all: change capitalization of gonum in license header 2017-11-02 06:54:08 +10:30
kortschak
ec20c1f479 mat: remove outdated attributions to Jama code 2017-06-25 17:06:16 +09:30
kortschak
6143493e56 mat: s/mat64/mat/g 2017-06-16 16:23:05 +09:30
Brendan Tracey
3fa9374bd4 matrix: rename matrix to mat, and merge with mat64 and cmat128.
This merges the three packages, matrix, mat64, and cmat128. It then renames this big package to mat. It fixes the import statements and corresponding code
2017-06-13 10:26:10 -06:00