Commit Graph

11 Commits

Author SHA1 Message Date
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
dd3505df7d mat: move sizeInt64 to testing file to quieten unused 2019-08-05 09:20:35 +09: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
Dan Kortschak
57680b76df mat: retain type and dimension attributes in encodings 2018-06-01 21:51:20 +09:30
Dan Kortschak
d1117c6f27 mat: disallow zero dimension results 2018-05-23 06:58:26 +09:30
kortschak
805531d142 all: change capitalization of gonum in license header 2017-11-02 06:54:08 +10: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
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