Commit Graph

14 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
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