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
172ec6bf55
Add test for Norm
...
Norm(±2) is, not surprisingly, difficult to pin down. The expected
values here agree with numpy well for Norm(2), less will with MATLAB
and the expectation for Norm(-2) is a fair amount (FWIW at this
magnitude) away from the numpy and MATLAB values which agree quite
well with each other.
2013-11-20 09:53:11 +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
26b1734f85
Make order constant
...
This is a start to removing column major handling of matrices.
2013-11-15 10:50:23 +10:30
kortschak
dd2cd47b0c
Simplify L\U tests
2013-11-05 09:34:29 +10:30
kortschak
a9c60e674c
Fix off by one error in L() code
...
This was missed in tests because the in-place special case was not
tested. Thanks to David Neumann for the heads up.
2013-11-05 09:27:15 +10:30
kortschak
34da1fe0fb
Change preference for T/TView to Tcopy/T
...
Cheaper is easier.
2013-08-12 10:00:10 +09:30
kortschak
b52e91946c
Clean up imports
2013-08-11 09:37:50 +09:30
btracey
81ad387432
Rolled back change to panic
2013-08-10 01:41:25 -07:00
btracey
b5838aeabc
Removed 'of c' in cblas: index out of range
2013-08-09 21:18:50 -07:00
kortschak
57a889ea68
Initial suite of tests
...
This covers basic arithmatic for RowMajor Dense only.
2013-08-10 00:12:36 +09:30