Commit Graph

10 Commits

Author SHA1 Message Date
kortschak
b10f3a00f3 Change NewDense signature and behaviour
This is an API breaking change.

NewDense now panics if len(mat) != r*c, unless mat == nil. When mat is
nil a new, correctly sized slice is allocated.
2014-01-08 09:56:39 +10:30
kortschak
fadcd6dd7f Avoid confusion with the name realloc
Fixes issue 1.
2013-12-27 19:40:43 +10:30
kortschak
8a6654a9a1 Merge mat64/la into mat64
This has been done to resolve a circular dependency issue that prevents
Norm(2) and Norm(-2) from being implemented.
2013-11-20 09:07:33 +10:30
kortschak
f36c5cf03b Update error strings 2013-10-31 16:04:31 +10:30
kortschak
9184de1c41 Change Viewer interface to receiver assignment 2013-10-15 14:14:11 +10:30
kortschak
34da1fe0fb Change preference for T/TView to Tcopy/T
Cheaper is easier.
2013-08-12 10:00:10 +09:30
kortschak
e886f11015 Improve wording for Stack/Augment comment 2013-08-12 09:41:59 +09:30
kortschak
c37eb1b393 Allow callers to know number of elements copied
Copy does not fail and (reflecting the built in) copies the minimum
range of the source and destination. Return the number of rows and
columns copied so the caller can determine whether to fail.
2013-08-11 09:44:53 +09:30
kortschak
f75c02d0c0 Changes suggested by Brendan Tracey. 2013-08-11 09:42:49 +09:30
kortschak
5faba4f269 First commit of code to gonum/matrix
For history prior to this commit, please see log at
github.com/kortschak/matrix.
2013-08-09 13:22:09 +09:30