Mercurial > hg > may
diff yetilab/matrix/test/test_matrix.yeti @ 177:370d9350495c
Start on matrix concat
author | Chris Cannam |
---|---|
date | Thu, 02 May 2013 21:05:10 +0100 |
parents | df2383f6b99b |
children | 032c4986b6b0 |
line wrap: on
line diff
--- a/yetilab/matrix/test/test_matrix.yeti Thu May 02 19:09:08 2013 +0100 +++ b/yetilab/matrix/test/test_matrix.yeti Thu May 02 21:05:10 2013 +0100 @@ -278,6 +278,14 @@ [[1,4],[2,5],[3,6]]; ), +"concat-lr-\(name)": \( + compareMatrices + (mat.concat (Horizontal ()) + [(newMatrix (ColumnMajor ()) [[1,4],[2,5]]), + (newMatrix (RowMajor ()) [[3],[6]])]) + (newMatrix (ColumnMajor ()) [[1,4],[2,5],[3,6]]) +), + ]); colhash = makeTests "column-major" id;