Home
last modified time | relevance | path

Searched refs:VERIFY_IS_MUCH_SMALLER_THAN (Results 1 – 25 of 28) sorted by relevance

12

/external/eigen/test/
Dgeo_hyperplane.cpp44 VERIFY_IS_MUCH_SMALLER_THAN( pl0.absDistance(p0), Scalar(1) ); in hyperplane()
46 VERIFY_IS_MUCH_SMALLER_THAN( pl1.signedDistance(pl1.projection(p0)), Scalar(1) ); in hyperplane()
47VERIFY_IS_MUCH_SMALLER_THAN( pl1.absDistance(p1 + pl1.normal().unitOrthogonal() * s1), Scalar(1) … in hyperplane()
57 VERIFY_IS_MUCH_SMALLER_THAN( pl2.transform(rot).absDistance(rot * p1), Scalar(1) ); in hyperplane()
59 VERIFY_IS_MUCH_SMALLER_THAN( pl2.transform(rot,Isometry).absDistance(rot * p1), Scalar(1) ); in hyperplane()
61VERIFY_IS_MUCH_SMALLER_THAN( pl2.transform(rot*scaling).absDistance((rot*scaling) * p1), Scalar(1)… in hyperplane()
63 VERIFY_IS_MUCH_SMALLER_THAN( pl2.transform(rot*scaling*translation) in hyperplane()
66 VERIFY_IS_MUCH_SMALLER_THAN( pl2.transform(rot*translation,Isometry) in hyperplane()
137 VERIFY_IS_MUCH_SMALLER_THAN(p0.absDistance(v0), Scalar(1)); in planes()
138 VERIFY_IS_MUCH_SMALLER_THAN(p0.absDistance(v1), Scalar(1)); in planes()
[all …]
Dgeo_orthomethods.cpp32 VERIFY_IS_MUCH_SMALLER_THAN(v1.cross(v2).dot(v1), Scalar(1)); in orthomethods_3()
33 VERIFY_IS_MUCH_SMALLER_THAN(v1.dot(v1.cross(v2)), Scalar(1)); in orthomethods_3()
34 VERIFY_IS_MUCH_SMALLER_THAN(v1.cross(v2).dot(v2), Scalar(1)); in orthomethods_3()
35 VERIFY_IS_MUCH_SMALLER_THAN(v2.dot(v1.cross(v2)), Scalar(1)); in orthomethods_3()
79 VERIFY_IS_MUCH_SMALLER_THAN(v0.unitOrthogonal().dot(v0), Scalar(1)); in orthomethods()
87 VERIFY_IS_MUCH_SMALLER_THAN(v0.unitOrthogonal().dot(v0), Scalar(1)); in orthomethods()
Dgeo_parametrizedline.cpp39 VERIFY_IS_MUCH_SMALLER_THAN( l0.distance(p0), RealScalar(1) ); in parametrizedline()
40 VERIFY_IS_MUCH_SMALLER_THAN( l0.distance(p0+s0*d0), RealScalar(1) ); in parametrizedline()
42 VERIFY_IS_MUCH_SMALLER_THAN( l0.distance(l0.projection(p1)), RealScalar(1) ); in parametrizedline()
59 VERIFY_IS_MUCH_SMALLER_THAN(hp.signedDistance(pi), RealScalar(1)); in parametrizedline()
60 VERIFY_IS_MUCH_SMALLER_THAN(l0.distance(pi), RealScalar(1)); in parametrizedline()
Dhouseholder.cpp46 if(rows>=2) VERIFY_IS_MUCH_SMALLER_THAN(v1.tail(rows-1).norm(), v1.norm()); in householder()
62 if(rows>=2) VERIFY_IS_MUCH_SMALLER_THAN(m1.block(1,0,rows-1,cols).norm(), m1.norm()); in householder()
63 VERIFY_IS_MUCH_SMALLER_THAN(numext::imag(m1(0,0)), numext::real(m1(0,0))); in householder()
74 if(rows>=2) VERIFY_IS_MUCH_SMALLER_THAN(m3.block(0,1,rows,rows-1).norm(), m3.norm()); in householder()
75 VERIFY_IS_MUCH_SMALLER_THAN(numext::imag(m3(0,0)), numext::real(m3(0,0))); in householder()
Dbasicstuff.cpp54 VERIFY_IS_MUCH_SMALLER_THAN( vzero, v1); in basicStuff()
55 VERIFY_IS_MUCH_SMALLER_THAN( vzero, v1.squaredNorm()); in basicStuff()
60 VERIFY_IS_MUCH_SMALLER_THAN( mzero, m1); in basicStuff()
70 VERIFY_IS_MUCH_SMALLER_THAN(MatrixType::Zero(rows,cols)(r,c), static_cast<Scalar>(1)); in basicStuff()
Dredux.cpp27 VERIFY_IS_MUCH_SMALLER_THAN(MatrixType::Zero(rows, cols).sum(), Scalar(1)); in matrixRedux()
84 VERIFY_IS_MUCH_SMALLER_THAN(abs(s - v.head(i).sum()), Scalar(1)); in vectorRedux()
101 VERIFY_IS_MUCH_SMALLER_THAN(abs(s - v.tail(size-i).sum()), Scalar(1)); in vectorRedux()
118 VERIFY_IS_MUCH_SMALLER_THAN(abs(s - v.segment(i, size-2*i).sum()), Scalar(1)); in vectorRedux()
Darray_for_matrix.cpp44 VERIFY_IS_MUCH_SMALLER_THAN(m1.colwise().sum().sum() - m1.sum(), m1.squaredNorm()); in array_for_matrix()
45 VERIFY_IS_MUCH_SMALLER_THAN(m1.rowwise().sum().sum() - m1.sum(), m1.squaredNorm()); in array_for_matrix()
46VERIFY_IS_MUCH_SMALLER_THAN(m1.colwise().sum() + m2.colwise().sum() - (m1+m2).colwise().sum(), (m1… in array_for_matrix()
47VERIFY_IS_MUCH_SMALLER_THAN(m1.rowwise().sum() - m2.rowwise().sum() - (m1-m2).rowwise().sum(), (m1… in array_for_matrix()
Dmiscmatrices.cpp32 else VERIFY_IS_MUCH_SMALLER_THAN(square(r,r2), static_cast<Scalar>(1)); in miscMatrices()
Dinverse.cpp68 VERIFY_IS_MUCH_SMALLER_THAN(abs(det-m3.determinant()), RealScalar(1)); in inverse()
Dsparse_vector.cpp41 VERIFY_IS_MUCH_SMALLER_THAN( v1.coeff(zerocoords[i]), eps ); in sparse_vector()
Dstable_norm.cpp72 VERIFY_IS_MUCH_SMALLER_THAN(vzero.norm(), static_cast<RealScalar>(1)); in stable_norm()
Darray.cpp69 VERIFY_IS_MUCH_SMALLER_THAN(abs(m1.colwise().sum().sum() - m1.sum()), m1.abs().sum()); in array()
70 VERIFY_IS_MUCH_SMALLER_THAN(abs(m1.rowwise().sum().sum() - m1.sum()), m1.abs().sum()); in array()
Dadjoint.cpp97 VERIFY_IS_MUCH_SMALLER_THAN(abs(vzero.dot(v1)), static_cast<RealScalar>(1)); in adjoint()
/external/eigen/test/eigen2/
Deigen2_hyperplane.cpp44 VERIFY_IS_MUCH_SMALLER_THAN( pl0.absDistance(p0), Scalar(1) ); in hyperplane()
46 VERIFY_IS_MUCH_SMALLER_THAN( pl1.signedDistance(pl1.projection(p0)), Scalar(1) ); in hyperplane()
47VERIFY_IS_MUCH_SMALLER_THAN( pl1.absDistance(p1 + pl1.normal().unitOrthogonal() * s1), Scalar(1) … in hyperplane()
57 VERIFY_IS_MUCH_SMALLER_THAN( pl2.transform(rot).absDistance(rot * p1), Scalar(1) ); in hyperplane()
59 VERIFY_IS_MUCH_SMALLER_THAN( pl2.transform(rot,Isometry).absDistance(rot * p1), Scalar(1) ); in hyperplane()
61VERIFY_IS_MUCH_SMALLER_THAN( pl2.transform(rot*scaling).absDistance((rot*scaling) * p1), Scalar(1)… in hyperplane()
63 VERIFY_IS_MUCH_SMALLER_THAN( pl2.transform(rot*scaling*translation) in hyperplane()
66 VERIFY_IS_MUCH_SMALLER_THAN( pl2.transform(rot*translation,Isometry) in hyperplane()
Deigen2_basicstuff.cpp48 VERIFY_IS_MUCH_SMALLER_THAN( vzero, v1); in basicStuff()
50 VERIFY_IS_MUCH_SMALLER_THAN( vzero, v1.norm()); in basicStuff()
55 VERIFY_IS_MUCH_SMALLER_THAN( mzero, m1); in basicStuff()
65 VERIFY_IS_MUCH_SMALLER_THAN(MatrixType::Zero(rows,cols)(r,c), static_cast<Scalar>(1)); in basicStuff()
Deigen2_parametrizedline.cpp39 VERIFY_IS_MUCH_SMALLER_THAN( l0.distance(p0), RealScalar(1) ); in parametrizedline()
40 VERIFY_IS_MUCH_SMALLER_THAN( l0.distance(p0+s0*d0), RealScalar(1) ); in parametrizedline()
42 VERIFY_IS_MUCH_SMALLER_THAN( l0.distance(l0.projection(p1)), RealScalar(1) ); in parametrizedline()
Deigen2_adjoint.cpp57 VERIFY_IS_MUCH_SMALLER_THAN(ei_abs(vzero.eigen2_dot(v1)), static_cast<RealScalar>(1)); in adjoint()
59 VERIFY_IS_MUCH_SMALLER_THAN(vzero.norm(), static_cast<RealScalar>(1)); in adjoint()
Deigen2_miscmatrices.cpp33 else VERIFY_IS_MUCH_SMALLER_THAN(square(r,r2), static_cast<Scalar>(1)); in miscMatrices()
Deigen2_sum.cpp21 VERIFY_IS_MUCH_SMALLER_THAN(MatrixType::Zero(rows, cols).sum(), Scalar(1)); in matrixSum()
Deigen2_sparse_vector.cpp41 VERIFY_IS_MUCH_SMALLER_THAN( v1.coeff(zerocoords[i]), eps ); in sparse_vector()
Deigen2_geometry.cpp49 VERIFY_IS_MUCH_SMALLER_THAN(v1.cross(v2).eigen2_dot(v1), Scalar(1)); in geometry()
64 VERIFY_IS_MUCH_SMALLER_THAN(u0.unitOrthogonal().eigen2_dot(u0), Scalar(1)); in geometry()
65 VERIFY_IS_MUCH_SMALLER_THAN(v0.unitOrthogonal().eigen2_dot(v0), Scalar(1)); in geometry()
Deigen2_geometry_with_eigen2_prefix.cpp51 VERIFY_IS_MUCH_SMALLER_THAN(v1.cross(v2).eigen2_dot(v1), Scalar(1)); in geometry()
66 VERIFY_IS_MUCH_SMALLER_THAN(u0.unitOrthogonal().eigen2_dot(u0), Scalar(1)); in geometry()
67 VERIFY_IS_MUCH_SMALLER_THAN(v0.unitOrthogonal().eigen2_dot(v0), Scalar(1)); in geometry()
Deigen2_sparse_basic.cpp73 VERIFY_IS_MUCH_SMALLER_THAN( m.coeff(zeroCoords[i].x(),zeroCoords[i].y()), eps ); in sparse_basic()
Dmain.h138 #define VERIFY_IS_MUCH_SMALLER_THAN(a, b) VERIFY(test_ei_isMuchSmallerThan(a, b)) macro
/external/eigen/unsupported/test/
Dsparse_extra.cpp77 VERIFY_IS_MUCH_SMALLER_THAN( m.coeff(zeroCoords[i].x(),zeroCoords[i].y()), eps ); in sparse_extra()

12