Mercurial > hg > may
diff yetilab/matrix/test/test_matrix.yeti @ 163:3fbaa25aad89
Make newMatrix/newRowVector/newColumnVector take block rather than list<number> args. Makes some uses simpler, some more complex, but most faster (sometimes by a lot).
author | Chris Cannam |
---|---|
date | Wed, 01 May 2013 21:42:03 +0100 |
parents | 38938ca5db0c |
children | df2383f6b99b |
line wrap: on
line diff
--- a/yetilab/matrix/test/test_matrix.yeti Wed May 01 16:20:07 2013 +0100 +++ b/yetilab/matrix/test/test_matrix.yeti Wed May 01 21:42:03 2013 +0100 @@ -16,7 +16,7 @@ randomMatrix s = flipper (mat.randomMatrix s); identityMatrix s = flipper (mat.identityMatrix s); generate f s = flipper (mat.generate f s); - newMatrix t d = flipper (mat.newMatrix t d); + newMatrix t d = flipper (mat.newMatrix t (map block.fromList d)); [ "constMatrixEmpty-\(name)": \(