Commit Graph

15 Commits

Author SHA1 Message Date
Dan Kortschak
bc349ecfab all: replace internal rand shim with math/rand/v2 2025-02-01 22:18:04 +10:30
Dan Kortschak
cf3307fa63 all: partially migrate to math/rand/v2
This is not intended to be a completed transition since it leaves the
libraries unusable to external client code, but rather as a step towards
use of math/rand/v2. This initial step allows repair of sequence change
failures without having to worry about API difference.
2025-02-01 22:18:04 +10:30
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
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
516002632a testlapack/gonum: address PR comments 2019-08-01 12:05:23 +02:00
Vladimir Chalupecky
1fb24f4bf7 lapack/testlapack: add dlattb helper 2019-08-01 12:05: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
ac556fa015 lapack/testlapack: add test for randomOrthogonal
... and remove the orthogonality assertion in randomOrthogonal.
2018-07-30 12:32:33 +02:00
Vladimir Chalupecky
99b6f69bff lapack/testlapack: move randomOrthogonal 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