Commit Graph

210 Commits

Author SHA1 Message Date
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
e4cd817d22 stricter tolerance 2023-09-07 10:19:13 +02:00
soypat
1f026fb0ae apply @vladimir-ch suggestions 2023-09-07 10:19:13 +02:00
soypat
e1631017db add dlanhs tests 2023-09-07 10:19:13 +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
dcd6047d5e lapack/gonum: avoid NaN generation in Dlatrs 2023-06-26 11:39:53 +02: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
f256ef8d6f lapack/gonum: add Dlapmr 2022-03-22 11:10:26 +01:00
Dan Kortschak
d8ad7756b6 all: fix spelling and typos 2022-03-14 21:32:06 +10:30
Patricio Whittingslow
030e69b6a7 lapack/{gonum,testlapack}: apply semgrep-go suggestions (#1743) 2021-11-16 16:51:06 +01:00
Vladimir Chalupecky
b2a0043a31 lapack/gonum: clean up Dlag2 and its test 2021-10-13 22:52:48 +02:00
Vladimir Chalupecky
2ef9ae2cf1 lapack/gonum: add Dpstrf and its test 2021-10-05 16:55:11 +02:00
Vladimir Chalupecky
94959ac705 lapack/gonum: add Dpstf2 and its test 2021-09-28 13:20:22 +02:00
Vladimir Chalupecky
06c2c52738 lapack/{gonum,testlapack}: clean up Dorgr2 and its test 2021-09-28 05:38:34 +02:00
soypat
b54f851e5e lapack: add Dlag2 subroutine 2021-09-27 19:17:25 +02:00
Vladimir Chalupecky
8e83e04715 lapack/gonum: remove Dcombssq
Remove Dcombssq and rely on Dlassq to combine scaled sums. See the
upstream change in https://github.com/Reference-LAPACK/lapack/pull/570
2021-09-02 09:59:07 +02:00
soypat
d90a6d6429 lapack/gonum: add Dorgr2 2021-09-01 18:27:25 +02:00
Vladimir Chalupecky
44e84bef41 lapack/gonum: add Dgesv 2021-06-22 14:34:28 +02:00
Vladimir Chalupecky
d920954870 lapack/testlapack: fix typo in test for Dgesc2 2021-06-17 09:37:55 +02:00
Vladimir Chalupecky
0a2e2cf240 lapack/{gonum,testlapack}: clean up Dgetc2 and rework its test 2021-06-16 14:34:07 +02:00
Vladimir Chalupecky
a0c9dc561f lapack/{gonum,testlapack}: clean up Dgesc2 and rework its test 2021-06-16 14:34:07 +02:00
Vladimir Chalupecky
4d954ef929 lapack/testlapack: add intsEqual helper 2021-06-16 14:34:07 +02:00
Patricio Whittingslow
c0f40d7826 lapack/gonum: add Dgesc2 (#1652) 2021-06-16 09:23:56 +02:00
Vladimir Chalupecky
7fe5bb7344 lapack/testlapack: extend test for Dlasy2 to cover rescaling 2021-06-15 09:45:42 +02:00
Patricio Whittingslow
cafcbe481e lapack/gonum: add Dgetc2 (#1655) 2021-06-11 15:31:09 +02:00
Vladimir Chalupecky
8c7f0017f9 testlapack: consolidate floating-point constants 2021-05-29 11:16:29 +02:00
Vladimir Chalupecky
48873a0cd3 lapack/testlapack: add benchmark for Dlangb 2021-05-27 00:38:04 +02:00
Dan Kortschak
03398562de all: clean up lint identified by ruleguard
Ruleguard run with ruleguard -c=0 -rules ruleguard.rules.go ./... from
https://github.com/dgryski/semgrep-go with the following rules inactivated
to reduce noise:

- unconvert for floating point values
- oddcomparisons
- floateq
2021-05-19 05:44:58 +09:30
Vladimir Chalupecky
286b092654 lapack/gonum: rewrite Dlassq and its test 2021-05-15 21:17:38 +02:00
Vladimir Chalupecky
f0d77794af lapack/{gonum,testlapack}: don't use work in Dlangb 2021-05-07 16:44:11 +02:00
Vladimir Chalupecky
d66e8d4b48 lapack/{gonum,testlapack}: extend Dlangb to non-square band matrices 2021-05-07 16:44:11 +02:00
Vladimir Chalupecky
142fecace0 lapack/{gonum,testlapack}: add Dlangb and its test 2021-05-07 16:44:11 +02:00
Vladimir Chalupecky
78643924b1 lapack/testlapack: make DsterfTest more tolerant 2021-03-20 09:49:59 +01:00
Vladimir Chalupecky
13102a112c lapack/gonum: fix infinite loop in Dlartg with Inf or NaN input
Also, simplify DlartgTest based on Supplemental Material to:

Edward Anderson. 2017. Algorithm 978: Safe Scaling in the Level 1 BLAS.
ACM Trans. Math. Softw. 44, 1, Article 12 (July 2017), 28 pages.
DOI:https://doi.org/10.1145/3061665
2021-03-20 09:49:59 +01:00
Vladimir Chalupecky
cdda7148b1 testlapack: move local implementations of Lapack functions to separate file 2020-10-27 09:16:20 +01:00
Vladimir Chalupecky
6703b9cb87 lapack: add Dgtsv 2020-10-27 09:16:20 +01:00
Vladimir Chalupecky
d989c50285 lapack: add Dlagtm 2020-10-22 18:20:11 +02:00
Vladimir Chalupecky
ec417b4211 lapack: add Dlangt 2020-10-21 07:09:25 +02:00
Vladimir Chalupecky
83e82da42f testlapack: don't output matrix contents in DlantbTest 2020-10-21 07:09:25 +02:00
Vladimir Chalupecky
de0df9a812 lapack/gonum: fix underflow in Dlanv2 2020-10-03 15:32:29 +02:00
Vladimir Chalupecky
44dd7ff458 testlapack: add default cases to local dlan?? functions 2020-09-30 10:56:51 +02:00
Vladimir Chalupecky
eea0b5cb5c testlapack: add test for Dtbtrs 2020-09-30 10:56:51 +02:00
Vladimir Chalupecky
aacdd93956 testlapack: add test for Dtrtrs 2020-09-29 09:19:16 +02:00