kortschak
85652f6bd8
Add Reset method
...
Reset allows reuse of used matrices, a use that would otherwise be
blocked by dim checking for many operations.
2014-01-22 09:34:49 +10:30
kortschak
1a85feca5c
Harmonise View signature with the rest of the API
2014-01-20 20:45:18 +10:30
kortschak
1f6eb2e1d8
Add BandWidther interface definition
2014-01-20 14:47:57 +10:30
kortschak
8a018bf4f6
Fix off-by-one error
2014-01-20 13:14:54 +10:30
kortschak
b53c760b0e
Include LQD-based solver in Solve
...
A type switch is included to allow for the fact that (*LQ).Solve will
not overwrite the matrix parameter, but if Solve is handed a non-*Dense
matrix, it must be converted.
Solution is confirmed by octave - the test should probably just confirm
that AX == B.
2014-01-20 10:16:17 +10:30
kortschak
308e631af1
Add views on rows
...
This was suggested in PR Issue#6. Here it is used to simplify
Vectorer-based operations. The next commit will use it in place of
Row/SetRow pairs in decomposition functions.
2014-01-16 11:08:37 +10:30
kortschak
b0e0bdf3de
Rename BlasMatrix to RawMatrix
...
The argument is that people don't care about the underlying
representation. I think they should, but this doesn't really prevent
them from doing so.
2014-01-13 08:50:45 +10:30
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