Commit Graph

20 Commits

Author SHA1 Message Date
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
5dcc4befa0 mat: simplify Diagonal interface expression 2021-08-23 16:10:45 +09:30
Dan Kortschak
3d32334f97 mat: rename Symmetric method to SymmetricDim 2021-08-23 07:02:27 +09:30
Dan Kortschak
85ca8969b8 all: remove or clarify repeated words in comments 2021-08-08 16:39:38 +09:30
Vladimir Chalupecky
3de5d6c644 mat: return ErrZeroLength when size is zero and document it 2021-05-13 09:37:55 +02:00
Vladimir Chalupecky
7d9d51f30f mat: add DiagDense.Norm 2021-05-12 10:57:51 +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
Brendan Tracey
cd52c4d030 mat: Expose ReuseAs method to help resizing (#1082)
* mat: Expose ReuseAs method to help resizing

Fixes #963
2019-09-14 09:17:29 +01:00
jonreiter@gmail.com
6e46824336 mat: tracer for banded types 2019-04-09 16:31:59 +09:30
Brendan Tracey
bcbf6c8e4e mat: Add Zero method to reset values of matrices (#819)
* mat: Add Zero method to reset values of matrices
2019-01-27 22:16:06 +00:00
Dan Kortschak
9d66d7e8f5 mat: rename NewDiagonal to NewDiagDense 2018-12-14 22:45:14 +10:30
Brendan Tracey
572d9101fe blas64: add length field N to Vector
blas64: add length field N to Vector

Alongside, fix the implementation of mat.VecDense and mat.Diagonal, as well as other changes needed to fix this change.

Fixes #736.
2018-12-10 08:36:04 +00:00
Brendan Tracey
b53e0d9ab0 mat: Add DiagView methods to types (#711)
* mat: Add DiagView methods to types

Fixes #213
2018-11-29 16:08:30 +00:00
Brendan Tracey
b630de2f22 mat: Clean up TriBand documentation (#710) 2018-11-25 18:50:08 +00:00
Brendan Tracey
32b7bcde45 mat: Add TriBanded interface and TriBandDense type (#693)
* mat: Add TriBanded interface and TriBandDense type
2018-11-25 08:26:55 +00:00
Dan Kortschak
dc5eba8a13 mat: add striding to DiagDense and capacity to extract diags from other matrices
Also add IsZero and Reset needed for this.
2018-11-24 19:16:21 +10:30
Dan Kortschak
17a33f2c20 mat: add Banded methods to Diagonal 2018-11-22 17:30:21 +10:30
Dan Kortschak
d752f8fef7 mat: make Diagonal satisfy Symmetric 2018-11-21 09:02:12 +10:30
Dan Kortschak
3b99883391 mat: disallow New calls with zero length 2018-11-21 07:57:39 +10:30
Brendan Tracey
7f00e25224 mat: Add Diagonal interface and DiagDense type (#594)
mat: Add Diagonal interface and DiagDense type

Fixes 592.
2018-10-04 21:05:13 +01:00