Commit Graph

34 Commits

Author SHA1 Message Date
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
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
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
b2a1b49ea5 all: convert ' to ′ and '' to ′′
This is necessary because gofmt in go1.19 imposes smart quotes on comments
that use pairs of single quotes. Doubled-up single tick, U+2032, is chosen
over double tick, U+2033, since the latter is harder to distinguish in many
fonts at normally used font sizes, sometimes being indistinguishable from
other superscript marks such as asterisk. Comparison: ′ ″ *
2022-08-06 07:05:17 +09:30
Dan Kortschak
d8ad7756b6 all: fix spelling and typos 2022-03-14 21:32:06 +10:30
Dan Kortschak
3d32334f97 mat: rename Symmetric method to SymmetricDim 2021-08-23 07:02:27 +09:30
Dan Kortschak
da72779e7a floats/scalar: new package containing non-vector functions from floats 2020-08-07 07:59:02 +09:30
Egon Elbre
76e4eae572 diff/fd: make tests parallel 2020-03-16 16:10:59 +02:00
Brendan Tracey
975d99cd20 mat,all: Rename IsZero to IsEmpty (#1088)
This avoids the confusion between Zero() and IsZero() which sounds like they should be related
to one another but are not. This makes IsEmpty the counterpart to Reset. Add check for Zero in allMatrix

Fixes #1083.
Updates #1081.
2019-09-15 13:53:29 +01:00
Dan Kortschak
3e852a4e0b diff/fd: don't allocate matrix on nil input to Hessian 2019-04-23 20:19:19 +09:30
Dan Kortschak
95e6ef1584 all: fix mispellings
Found by github.com/client9/misspell.
2019-01-27 20:31:48 +10:30
kortschak
54a5f6f081 all: fix build and make tests pass with new streams 2017-11-17 12:38:53 +10:30
kortschak
fa0c5aa7bc all: use golang.org/x/exp/rand instead of math/rand 2017-11-17 11:52:34 +10:30
kortschak
805531d142 all: change capitalization of gonum in license header 2017-11-02 06:54:08 +10:30
James Bowman
e01a71d4d5 mat: make RowView and ColView return Vector type and add RowViewOf and ColViewOf
Also change Dot signature to accept Vector parameters.
2017-09-02 06:55:38 +09: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
Brendan Tracey
084f84ee0e Add Laplacian and CrossLaplacian difference functions (#154)
* Add Laplacian and CrossLaplacian difference functions

* use usesOrigin
2017-08-03 21:29:12 -06:00
kortschak
cd23ab5b82 diff/fd: fix build 2017-07-31 15:53:36 +09:30
kortschak
862a4c5a4f mat: rename Vector->VecDense 2017-07-31 09:59:22 +09:30
Brendan Tracey
eeb363530d diff/fd: implement Hessian finite difference, and code cleanups. (#109)
* diff/fd: implement Hessian finite difference, and code cleanups.

This commit primarily adds the Hessian function for finding a finite difference approximation to the Hessian. At the same time, it combines duplicated functionality across the difference routines so that the preludes to all the difference routines look similar
2017-07-28 13:46:27 -06:00
kortschak
0f349255d4 README: update old repo READMEs 2017-07-10 07:03:44 +09:30
Brendan Tracey
0d639745f1 all: update packages from mat64 to mat.
This mostly changes package name and code, but also fixes a couple of name clashes with the new package names
2017-06-13 10:28:21 -06:00
kortschak
37850ca814 all: add canonical imports 2017-05-25 16:07:18 +09:30
Brendan Tracey
e70111877f all: delete extra travis files 2017-05-23 00:03:46 -06:00
Brendan Tracey
d33397aa65 all: change import paths 2017-05-23 00:03:03 -06:00
Brendan Tracey
0572119b48 diff: imported diff as a subtree 2017-05-23 00:02:54 -06:00