Commit Graph

25 Commits

Author SHA1 Message Date
ynm3n
9b1a85bc89 stat/combin: fix typos
The four functions explained by the modified comments panic if n or k
of parameters are "negative", not "non-negative".
2022-10-27 16:35:48 +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
Dan Kortschak
85ca8969b8 all: remove or clarify repeated words in comments 2021-08-08 16:39:38 +09:30
Dan Kortschak
889a9573ff all: remove redundant bad prefix and make panic strings const 2019-12-02 19:52:03 +10:30
Dan Kortschak
1909e918eb stat/combin: fix incorrect bound 2019-10-27 20:53:37 +10:30
Dan Kortschak
35c4e21c06 stat/combin: fix spelling 2019-10-27 06:48:11 +10:30
Dan Kortschak
f54cad9e6d stat/combin: allow user allocation for Cartesian product 2019-10-27 06:48:11 +10:30
Nils Wogatzky
c0d3984e72 stats/combin: add CartesianGenerator (#1111)
* stats/combin: add CartesianGenerator
2019-10-13 10:54:04 +01:00
Brendan Tracey
40d3308efe combin: Add helpers for dealing with permutations (#1076)
* combin: Add helpers for dealing with permutations
2019-09-11 21:00:27 +01:00
Brendan Tracey
d61003946d stat/combin: Add CombinationToIndex and IndexToCombination functions (#1054)
* stat/combin: Add CombinationToIndex and IndexToCombination functions
2019-08-21 11:10:10 +01:00
Brendan Tracey
b0ff1e7714 combin: Change Cartesian to deal with indices (#1059)
Fixes #1057.
2019-08-17 12:41:00 +01:00
Brendan Tracey
9cfd3e46f1 stat/combin: Fix CombinationGenerator comment (#1028)
It's confusing to say that Combination generates the next combination, when really it generates the current one with Next doing the advancing.
2019-07-23 10:12:18 +01:00
Brendan Tracey
a3eff45798 stat/combin: add Cartesian for constructing the cartesian product of … (#303)
* stat/combin: add Cartesian for constructing the cartesian product of a set of slices
2017-11-19 22:17:43 -07:00
kortschak
805531d142 all: change capitalization of gonum in license header 2017-11-02 06:54:08 +10:30
mewmew
7e53ef2fae all: use fixdocs tool to store package documentation in doc.go
Add copyright header to doc.go

Keep original comment style (e.g. line comments and block comments).

Fix doc comments containing multiple line comments.

Remove vanity imports from all files except doc.go.

Fixes #12.

The source code of fixdocs is located at:
https://play.golang.org/p/7RtYLzldsO
2017-08-16 14:26:00 +02:00
mewmew
ac48587c92 Revert "all: use fixdocs tool to store package documentation in doc.go"
This reverts commit b2982a3e50.
2017-08-16 14:21:05 +02:00
mewmew
b2982a3e50 all: use fixdocs tool to store package documentation in doc.go
Add copyright header to doc.go

Keep original comment style (e.g. line comments and block comments).

Fix doc comments containing multiple line comments.
2017-08-16 14:07:36 +02:00
mewmew
5b4711aa15 Revert "all: use fixdocs tool to store package documentation in doc.go"
This reverts commit b0a98102dc.
2017-08-16 14:07:17 +02:00
mewmew
b0a98102dc all: use fixdocs tool to store package documentation in doc.go
Add copyright header to doc.go

Keep original comment style (e.g. line comments and block comments).
2017-08-16 14:02:26 +02:00
mewmew
7eaea7c428 Revert "all: use fixdocs tool to store package documentation in doc.go"
This reverts commit 00292b2d57.
2017-08-16 14:01:36 +02:00
mewmew
00292b2d57 all: use fixdocs tool to store package documentation in doc.go
Add copyright header to doc.go
2017-08-16 13:56:50 +02:00
mewmew
a37fef5a6d Revert "all: use fixdocs tool to store package documentation in doc.go"
This reverts commit 963877e5f5.
2017-08-16 13:54:16 +02:00
mewmew
963877e5f5 all: use fixdocs tool to store package documentation in doc.go 2017-08-16 13:19:00 +02:00
kortschak
37850ca814 all: add canonical imports 2017-05-25 16:07:18 +09:30
Brendan Tracey
61c782d390 stat: imported stat as a subtree 2017-05-23 00:02:52 -06:00