Commit Graph

314 Commits

Author SHA1 Message Date
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
Dan Kortschak
d8ad7756b6 all: fix spelling and typos 2022-03-14 21:32:06 +10:30
Vladimir Chalupecky
b091b0b4e2 lapack/gonum: clarify ok return from Dpstrf and Dpstf2 2022-02-04 10:55:15 +01:00
Vladimir Chalupecky
ce4adcfbd5 lapack/lapack64: add Pstrf 2022-02-03 10:48:42 +01:00
Vladimir Chalupecky
90a1d532d7 lapack/gonum: extend docs for Dpstrf and Dpstf2 2022-02-03 10:48:42 +01:00
Vladimír Chalupecký
897ca24e8b lapack/gonum: clean up Dlatdf (#1739) 2021-11-17 07:59:35 +01:00
Patricio Whittingslow
030e69b6a7 lapack/{gonum,testlapack}: apply semgrep-go suggestions (#1743) 2021-11-16 16:51:06 +01:00
soypat
295bfca71f lapack: add Dlatdf 2021-10-20 19:46:48 +02: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
d891e94e2b lapack/gonum: fix length check in Dlaswp
Also, simplify checks of row indices k1 and k2.
2021-09-29 10:31:56 +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
Dan Kortschak
85ca8969b8 all: remove or clarify repeated words in comments 2021-08-08 16:39:38 +09:30
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
Dan Kortschak
760338fe50 lapack/gonum: don't multiply by 1 2021-06-13 18:57:55 +09:30
Patricio Whittingslow
e4c04dde5f lapack/gonum: prevent division of untyped ints always yielding zero in Dlasy2 (#1653) 2021-06-12 00:16:39 +02:00
Patricio Whittingslow
cafcbe481e lapack/gonum: add Dgetc2 (#1655) 2021-06-11 15:31:09 +02:00
Vladimir Chalupecky
da688c04b6 lapack/gonum: avoid no-op row swap in Dlaswp 2021-06-06 23:45:28 +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
c297b7e2de lapack/gonum: check for overflow in Dtgsja 2021-04-09 13:42:46 +02:00
Vladimir Chalupecky
78643924b1 lapack/testlapack: make DsterfTest more tolerant 2021-03-20 09:49:59 +01:00
Vladimir Chalupecky
7a88995ca8 lapack/gonum: rewrite Dlartg to use safe scaling from https://doi.org/10.1145/3061665 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
9505993d5e lapack/gonum: clarify Ilaenv doc comment 2021-03-04 09:25:49 +01:00
Sebastien Binet
a513de661b lapack/gonum: fix link to gonum/mat in package doc 2021-02-04 11:58:55 +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