Commit Graph

36 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
efbee9bf28 mat: rename pool helpers to be consistent with type names 2021-05-27 17:07:31 +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
f712ff204e mat: add VecDense.Norm 2021-05-11 16:23:27 +02:00
Dan Kortschak
c62dc81ca3 mat: don't clobber optimisation for TriDense matrix input 2020-09-14 13:40:20 +09:30
Dan Kortschak
48db94ddb5 mat: add SolveTo and SolveVecTo to SVD 2020-07-01 10:57:37 +09:30
Vladimir Chalupecky
5f268d9394 mat: rename CloneVec to CloneFromVec 2020-03-08 11:00:58 +01:00
Vladimir Chalupecky
8ba336e3c9 mat: use internal setVec function in CloneVec 2020-03-06 22:03:58 +01:00
Vladimir Chalupecky
b12183f05a mat: add MutableVector interface 2020-03-06 22:03:58 +01:00
Vladimír Chalupecký
af3666d0f9 mat: add VecDense and RawVectorer cases to untransposeExtract (#1186)
* mat: add VecDense.SetRawVector
* mat: add VecDense and RawVectorer cases to untransposeExtract
* mat: add comments to VecDense.{RawVector,SetRawVector}
2019-11-28 00:24:04 +01:00
Vladimir Chalupecky
94b2bbd8ac mat: add overlap detection for SymBandDense 2019-09-26 13:38:37 +02:00
Vladimir Chalupecky
bd50f5876c mat: add fastpath for SymBandDense to VecDense.MulVec 2019-09-26 13:38:37 +02:00
Brendan Tracey
16f4144126 mat: Change methods to accept empty instead of nil matrices (#1090)
* mat: Change methods to accept empty instead of nil matrices

While here, fix enough to compile.

Updates #1081.
2019-09-20 19:19:07 +01: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
Dan Kortschak
4241a63a39 mat: remove redundant check constructions
This was missed in a8659125a9.
2019-09-08 07:14:59 +09:30
Brendan Tracey
a8659125a9 mat: replace untranspose with untransposeExtract (#1036)
* mat: replace untranspose with untransposeExtract

This leaves one remaining use in TriDense but that case is a bit more complicated
2019-07-24 14:37:15 +01:00
Dan Kortschak
0a381ca743 mat: ensure number of elements to be copied is sanitised for blas64 2019-07-04 17:01:04 +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
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
Dan Kortschak
3b99883391 mat: disallow New calls with zero length 2018-11-21 07:57:39 +10:30
Dan Kortschak
d1117c6f27 mat: disallow zero dimension results 2018-05-23 06:58:26 +09:30
kortschak
6861c60a47 mat: handle vector transposes better 2018-01-11 20:53:02 +10:30
Dan Kortschak
6e57d606a5 mat: generalise basic arithmetic vector operations 2017-12-25 06:12:00 +10:30
kortschak
ad5995341f mat: add TransposeVec 2017-12-15 16:18:52 +10:30
kortschak
785258ce25 mat: add VecDenseCopyOf function 2017-12-15 16:18:52 +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
kortschak
f99e3efb09 mat: add Vector interface 2017-07-31 09:59:22 +09:30
kortschak
862a4c5a4f mat: rename Vector->VecDense 2017-07-31 09:59:22 +09:30
kortschak
01a0286e0f mat: add IsZero method to resetable types 2017-07-06 14:15:39 +09:30
kortschak
82a7dd2f1f mat: extend Vector slicing sematics to allow slicing up to capacity 2017-06-21 12:24:43 +09:30
kortschak
b358f748d6 mat: allow slice to increase matrix size to caps 2017-06-17 06:45:53 +09:30
kortschak
33b5a66ba7 mat: remove View* methods 2017-06-17 06:45:53 +09:30
kortschak
6143493e56 mat: s/mat64/mat/g 2017-06-16 16:23:05 +09:30
Brendan Tracey
3fa9374bd4 matrix: rename matrix to mat, and merge with mat64 and cmat128.
This merges the three packages, matrix, mat64, and cmat128. It then renames this big package to mat. It fixes the import statements and corresponding code
2017-06-13 10:26:10 -06:00