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.
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
- 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.