Commit Graph

357 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
affaa34094 all: fix doc comments identified by staticcheck
All complaints in mathext/internal are ignored, and an unfortunate naming
of methods in spatial/{r2,r3} is now permanent.
2024-04-23 17:11:29 +09:30
Eng Zer Jun
e44948ca04 all: replace min/max helpers with min/max builtins 2024-04-06 20:24:32 +10:30
Vladimir Chalupecky
b27ae13fdd lapack/gonum: add Dptcon 2023-11-25 23:47:47 +01:00
Vladimir Chalupecky
55edfc1d26 lapack/testlapack: add dlanst 2023-11-25 23:47:47 +01:00
Vladimir Chalupecky
3462e90a5a lapack/gonum: add Dptsv 2023-11-23 11:54:07 +01:00
Vladimir Chalupecky
44d84c93aa lapack/gonum: add Dpttrs 2023-11-23 11:54:07 +01:00
Vladimir Chalupecky
c4e3bfbea7 lapack/gonum: add Dpttrf 2023-11-23 11:54:07 +01:00
Vladimir Chalupecky
fa306f215a lapack/gonum: handle NaN and Inf input to Dgecon
See https://github.com/Reference-LAPACK/lapack/pull/926
2023-11-13 11:15:41 +01:00
Vladimir Chalupecky
5e05b17912 lapack/gonum: fix accumulation in Dlassq
See https://github.com/Reference-LAPACK/lapack/pull/909
2023-11-03 11:57:45 +01:00
Vladimir Chalupecky
b2722176dd mat: make LQ satisfy Matrix 2023-10-08 09:26:29 +02:00
Vladimir Chalupecky
6e2f5c5890 lapack/gonum: require exact length of tau in QR routines 2023-10-06 22:09:27 +02:00
Vladimir Chalupecky
45b74210d6 mat: make QR satisfy Matrix 2023-10-06 12:12:39 +02:00
Vladimir Chalupecky
aef3c5f344 mat: make LU satisfy Matrix
Updates #926
2023-10-05 10:50:37 +02:00
Vladimir Chalupecky
5f74663ec0 mat: add Dense.PermuteRows and PermuteCols 2023-10-03 08:33:29 +02:00
Vladimir Chalupecky
9a55b68dae lapack/gonum: clean up docs for Dgetrf and Dgetf2 2023-10-03 08:33:29 +02:00
Vladimir Chalupecky
ff3e32092e lapack/lapack64: add Geqp3 and clean up docs 2023-09-21 09:06:26 +02:00
Vladimir Chalupecky
7df15c334b lapack/gonum: clean up Dgghrd and its test 2023-09-14 22:21:33 +02:00
Patricio Whittingslow
f0a57a452a lapack/gonum: add Dgghrd and its test 2023-09-07 13:24:34 +02:00
Vladimir Chalupecky
7bed099d44 lapack/gonum: clean up Dlanhs and its test 2023-09-07 12:55:09 +02:00
soypat
b79b9f7740 greatly improve dlanhs impl, docs and tests 2023-09-07 10:19:13 +02:00
soypat
92392f3782 apply more suggestions 2023-09-07 10:19:13 +02:00
soypat
99dfbf7715 optimized for row major iteration 2023-09-07 10:19:13 +02:00
soypat
e4cd817d22 stricter tolerance 2023-09-07 10:19:13 +02:00
soypat
41b82cb035 add work documentation 2023-09-07 10:19:13 +02:00
soypat
1f026fb0ae apply @vladimir-ch suggestions 2023-09-07 10:19:13 +02:00
soypat
97c5c888de fix copyright 2023-09-07 10:19:13 +02:00
soypat
e1631017db add dlanhs tests 2023-09-07 10:19:13 +02:00
Vladimir Chalupecky
fbaba96885 lapack/gonum: propagate NaN from Dgecon 2023-07-29 17:07:15 +02:00
Jes Cok
bd727a9e14 all: fix typos 2023-07-16 13:37:17 +09:30
Vladimir Chalupecky
57e305c4a0 lapack/testlapack: relax tolerance in Dlapy2 test
This is done to avoid test failure in the netlib repo on remote build
infrastructure.
2023-07-14 06:25:24 +02:00
Vladimir Chalupecky
efb7471d7d lapack/gonum: implement optimal packing in Dlaqr5
...and update workspace sizes in Dhseqr and Dlaqr04.
2023-07-06 23:09:18 +02:00
Vladimir Chalupecky
edd01550f6 lapack/testlapack: add benchmark for Dlaqr5 2023-07-06 23:09:18 +02:00
Vladimir Chalupecky
fdc0a35e95 lapack/testlapack: cover shuffling of shifts in Dlaqr5 2023-07-06 23:09:18 +02:00
Vladimir Chalupecky
d87a8117dd lapack/gonum: improve exceptional shift in Dlahqr 2023-07-05 22:55:27 +02:00
Vladimir Chalupecky
88cd7bd3f2 lapack/gonum: avoid using square of sqrt in Dlassq 2023-07-01 07:48:43 +02:00
Vladimir Chalupecky
dcd6047d5e lapack/gonum: avoid NaN generation in Dlatrs 2023-06-26 11:39:53 +02:00
Vladimir Chalupecky
09a7841bec lapack/gonum: return scale 1 for zero sized matrices in Dlatrs and Dlatbs 2023-06-26 11:39:53 +02:00
Vladimir Chalupecky
429b1dc266 lapack/gonum: remove unused variable in Dbdsqr 2023-06-26 09:48:36 +02:00
Chris Nobody
45b800a8c6 all: add pkg.go.dev reference README badges
As discussed during the review of the immediately preceding changesets.
2023-03-16 06:40:50 +10:30
Chris Nobody
0f19c83e37 all: replace remaining non-badge godoc.org links with pkg.go.dev ones 2023-03-16 06:40:50 +10:30
Chris Nobody
f040f6bd07 all: replace godoc.org README badges with godocs.io ones
The links have been redirecting to `pkg.go.dev` for a while now. In the
case of the main README, that made the badge a virtual duplicate of the
"go.dev reference" one.
2023-03-16 06:40:50 +10:30
Chris Nobody
2633fc39ec lapack/gonum: doc.go: fix org in blas64 link (gonum.org, not golang.org) 2023-03-16 06:40:50 +10:30
Vladimir Chalupecky
4e392907e6 lapack/gonum: improve accuracy of Dlartg
This incorporates modifications introduced in LAPACK 3.11.0 in
https://github.com/Reference-LAPACK/lapack/pull/631
2022-11-24 23:01:49 +01:00
Dan Kortschak
e5b200df74 lapack/testlapack: allow test loop to continue on failure 2022-08-11 19:16:16 +09: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
Dan Kortschak
a2c6f817bf ci: replace golangci-lint with staticcheck 2022-05-18 21:35:57 +09:30
Vladimir Chalupecky
1c2a04ccb9 lapack/lapack64: add Lapmr 2022-03-22 11:10:26 +01:00
Vladimir Chalupecky
f256ef8d6f lapack/gonum: add Dlapmr 2022-03-22 11:10:26 +01:00