Mercurial > repos > public > sbplib
comparison +blockmatrix/getDivisionTest.m @ 707:0de70ec8bf60 feature/quantumTriangles
merge with feature/optim
author | Ylva Rydin <ylva.rydin@telia.com> |
---|---|
date | Fri, 10 Nov 2017 14:22:56 +0100 |
parents | a5f1b0267dba |
children |
comparison
equal
deleted
inserted
replaced
696:7c16b5af8d98 | 707:0de70ec8bf60 |
---|---|
54 [2 2; 2 1]; | 54 [2 2; 2 1]; |
55 [2 2] | 55 [2 2] |
56 }, | 56 }, |
57 {[2 1], 2} | 57 {[2 1], 2} |
58 }, | 58 }, |
59 { | |
60 {zeros(3,0)}, | |
61 {3, 0}, | |
62 }, | |
63 { | |
64 {zeros(3,0), zeros(3,0)}, | |
65 {3, [0, 0]}, | |
66 }, | |
67 { | |
68 {zeros(3,0); zeros(2,0)}, | |
69 {[3 2],0}, | |
70 }, | |
59 }; | 71 }; |
60 | 72 |
61 for i = 1:length(cases) | 73 for i = 1:length(cases) |
62 in = cases{i}{1}; | 74 in = cases{i}{1}; |
63 out = blockmatrix.getDivision(in); | 75 out = blockmatrix.getDivision(in); |