btracey
68efb7a653
Fixed QR solve code to give correct answer for skinny matrices
2014-01-08 15:45:42 -08:00
btracey
e88f486561
Working version of Solve
2014-01-08 15:45:42 -08:00
kortschak
70c87063ca
Improve panic test handling
2014-01-08 16:00:08 +10:30
kortschak
5823c3fdfb
Clean up tests
2014-01-08 15:21:47 +10:30
btracey
f5c64a4270
Fixed tests to have answers from a reliable source
2014-01-07 18:29:22 -08:00
btracey
022dec19df
Added more tests to Solve
2014-01-07 18:12:53 -08:00
btracey
56b7e0d9f1
Changed test to use flatten
2014-01-07 16:59:50 -08:00
btracey
78992998ad
Started adding tests for Solve
2014-01-07 16:46:07 -08:00
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