/external/eigen/test/ |
corners.cpp | 13 VERIFY_IS_EQUAL(matrix.A, matrix.B); \ 14 VERIFY_IS_EQUAL(const_matrix.A, const_matrix.B); 60 VERIFY_IS_EQUAL((matrix.template topLeftCorner<r,c>()), (matrix.template block<r,c>(0,0))); 61 VERIFY_IS_EQUAL((matrix.template topRightCorner<r,c>()), (matrix.template block<r,c>(0,cols-c))); 62 VERIFY_IS_EQUAL((matrix.template bottomLeftCorner<r,c>()), (matrix.template block<r,c>(rows-r,0))); 63 VERIFY_IS_EQUAL((matrix.template bottomRightCorner<r,c>()), (matrix.template block<r,c>(rows-r,cols-c))); 65 VERIFY_IS_EQUAL((matrix.template topRows<r>()), (matrix.template block<r,cols>(0,0))); 66 VERIFY_IS_EQUAL((matrix.template middleRows<r>(sr)), (matrix.template block<r,cols>(sr,0))); 67 VERIFY_IS_EQUAL((matrix.template bottomRows<r>()), (matrix.template block<r,cols>(rows-r,0))); 68 VERIFY_IS_EQUAL((matrix.template leftCols<c>()), (matrix.template block<rows,c>(0,0))) [all...] |
eigen2support.cpp | 39 VERIFY_IS_EQUAL((m1.corner(TopLeft,1,1)), (m1.block(0,0,1,1))); 40 VERIFY_IS_EQUAL((m1.template corner<1,1>(TopLeft)), (m1.template block<1,1>(0,0))); 41 VERIFY_IS_EQUAL((m1.col(0).start(1)), (m1.col(0).segment(0,1))); 42 VERIFY_IS_EQUAL((m1.col(0).template start<1>()), (m1.col(0).segment(0,1))); 43 VERIFY_IS_EQUAL((m1.col(0).end(1)), (m1.col(0).segment(rows-1,1))); 44 VERIFY_IS_EQUAL((m1.col(0).template end<1>()), (m1.col(0).segment(rows-1,1))); 47 VERIFY_IS_EQUAL(ei_cos(s1), cos(s1)); 48 VERIFY_IS_EQUAL(ei_real(s1), real(s1)); 49 VERIFY_IS_EQUAL(ei_abs2(s1), abs2(s1));
|
schur_complex.cpp | 23 VERIFY_IS_EQUAL(schurOfA.info(), Success); 45 VERIFY_IS_EQUAL(cs1.info(), Success); 46 VERIFY_IS_EQUAL(cs2.info(), Success); 47 VERIFY_IS_EQUAL(cs1.matrixT(), cs2.matrixT()); 48 VERIFY_IS_EQUAL(cs1.matrixU(), cs2.matrixU()); 52 VERIFY_IS_EQUAL(csOnlyT.info(), Success); 53 VERIFY_IS_EQUAL(cs1.matrixT(), csOnlyT.matrixT()); 61 VERIFY_IS_EQUAL(csNaN.info(), NoConvergence);
|
schur_real.cpp | 46 VERIFY_IS_EQUAL(schurOfA.info(), Success); 64 VERIFY_IS_EQUAL(rs1.info(), Success); 65 VERIFY_IS_EQUAL(rs2.info(), Success); 66 VERIFY_IS_EQUAL(rs1.matrixT(), rs2.matrixT()); 67 VERIFY_IS_EQUAL(rs1.matrixU(), rs2.matrixU()); 71 VERIFY_IS_EQUAL(rsOnlyT.info(), Success); 72 VERIFY_IS_EQUAL(rs1.matrixT(), rsOnlyT.matrixT()); 80 VERIFY_IS_EQUAL(rsNaN.info(), NoConvergence);
|
block.cpp | 41 VERIFY_IS_EQUAL(m1.col(c1).transpose(), m1.transpose().row(c1)); 60 VERIFY_IS_EQUAL(b1, m1.block(r1,c1,1,1)); 61 VERIFY_IS_EQUAL(m1.row(r1), br1); 62 VERIFY_IS_EQUAL(m1.col(c1), bc1); 79 VERIFY_IS_EQUAL(b, m1.block(3,3,BlockRows,BlockCols)); 85 VERIFY_IS_EQUAL(v1.template head<2>(), v1.block(0,0,2,1)); 86 VERIFY_IS_EQUAL(v1.template head<2>(), v1.head(2)); 87 VERIFY_IS_EQUAL(v1.template head<2>(), v1.segment(0,2)); 88 VERIFY_IS_EQUAL(v1.template head<2>(), v1.template segment<2>(0)); 90 VERIFY_IS_EQUAL(v1.template tail<2>(), v1.block(i,0,2,1)) [all...] |
integer_types.cpp | 45 VERIFY_IS_EQUAL(-(-m1), m1); 46 VERIFY_IS_EQUAL(-m2+m1+m2, m1); 47 VERIFY_IS_EQUAL((-m1+m2)*s1, -s1*m1+s1*m2); 117 VERIFY_IS_EQUAL(m1+m1, 2*m1); 118 VERIFY_IS_EQUAL(m1+m2-m1, m2); 119 VERIFY_IS_EQUAL(m1*s1, s1*m1); 120 VERIFY_IS_EQUAL((m1+m2)*s1, s1*m1+s1*m2); 122 VERIFY_IS_EQUAL(m3, m1+m2); 124 VERIFY_IS_EQUAL(m3, m2-m1); 126 VERIFY_IS_EQUAL(m3, s1*m2) [all...] |
eigensolver_selfadjoint.cpp | 48 VERIFY_IS_EQUAL(eiSymm.info(), Success); 53 VERIFY_IS_EQUAL(eiDirect.info(), Success); 59 VERIFY_IS_EQUAL(eiSymmNoEivecs.info(), Success); 64 VERIFY_IS_EQUAL(eiSymmGen.info(), Success); 70 VERIFY_IS_EQUAL(eiSymmGen.info(), Success); 76 VERIFY_IS_EQUAL(eiSymmGen.info(), Success); 110 VERIFY_IS_EQUAL(eiSymmNaN.info(), NoConvergence);
|
eigensolver_complex.cpp | 52 VERIFY_IS_EQUAL(ei0.info(), Success); 56 VERIFY_IS_EQUAL(ei1.info(), Success); 63 VERIFY_IS_EQUAL(eiNoEivecs.info(), Success); 79 VERIFY_IS_EQUAL(eiNaN.info(), NoConvergence);
|
eigensolver_generic.cpp | 35 VERIFY_IS_EQUAL(ei0.info(), Success); 41 VERIFY_IS_EQUAL(ei1.info(), Success); 49 VERIFY_IS_EQUAL(eiNoEivecs.info(), Success); 61 VERIFY_IS_EQUAL(eiNaN.info(), NoConvergence);
|
hessenberg.cpp | 37 VERIFY_IS_EQUAL(cs1.matrixH().eval(), cs2.matrixH().eval()); 40 VERIFY_IS_EQUAL(cs1Q, cs2Q);
|
map.cpp | 35 VERIFY_IS_EQUAL(ma1, ma2); 36 VERIFY_IS_EQUAL(ma1, ma3); 67 VERIFY_IS_EQUAL(ma1, ma2); 69 VERIFY_IS_EQUAL(ma1, ma3); 95 VERIFY_IS_EQUAL(ma1, ma2); 96 VERIFY_IS_EQUAL(ma1, ma3);
|
product_symm.cpp | 40 VERIFY_IS_EQUAL(m1, m3); 46 VERIFY_IS_EQUAL(m1, m3);
|
main.h | 184 #define VERIFY_IS_EQUAL(a, b) VERIFY(test_is_equal(a, b))
|
/external/eigen/unsupported/test/ |
NonLinearOptimization.cpp | 179 VERIFY_IS_EQUAL(info, 1); 180 VERIFY_IS_EQUAL(lm.nfev, 6); 181 VERIFY_IS_EQUAL(lm.njev, 5); 208 VERIFY_IS_EQUAL(info, 1); 209 VERIFY_IS_EQUAL(lm.nfev, 6); 210 VERIFY_IS_EQUAL(lm.njev, 5); 293 VERIFY_IS_EQUAL(info, 1); 294 VERIFY_IS_EQUAL(solver.nfev, 11); 295 VERIFY_IS_EQUAL(solver.njev, 1); 328 VERIFY_IS_EQUAL(info, 1) [all...] |
kronecker_product.cpp | 20 VERIFY_IS_EQUAL(ab.rows(), rows); 21 VERIFY_IS_EQUAL(ab.cols(), cols); 28 VERIFY_IS_EQUAL(ab.rows(), 6); 29 VERIFY_IS_EQUAL(ab.cols(), 6); 30 VERIFY_IS_EQUAL(ab.nonZeros(), 36); 73 VERIFY_IS_EQUAL(ab.rows(), 12); 74 VERIFY_IS_EQUAL(ab.cols(), 10); 75 VERIFY_IS_EQUAL(ab.nonZeros(), 3*2);
|
mpreal_support.cpp | 48 VERIFY_IS_EQUAL(eig.info(), Success);
|