Home
last modified time | relevance | path

Searched refs:VERIFY_RAISES_ASSERT (Results 1 – 25 of 39) sorted by relevance

12

/external/eigen/test/
Dsmallvectors.cpp38 VERIFY_RAISES_ASSERT(V3(2, 1)) in smallVectors()
39 VERIFY_RAISES_ASSERT(V3(3, 2)) in smallVectors()
40 VERIFY_RAISES_ASSERT(V3(Scalar(3), 1)) in smallVectors()
41 VERIFY_RAISES_ASSERT(V3(3, Scalar(1))) in smallVectors()
42 VERIFY_RAISES_ASSERT(V3(Scalar(3), Scalar(1))) in smallVectors()
43 VERIFY_RAISES_ASSERT(V3(Scalar(123), Scalar(123))) in smallVectors()
45 VERIFY_RAISES_ASSERT(V4(1, 3)) in smallVectors()
46 VERIFY_RAISES_ASSERT(V4(2, 4)) in smallVectors()
47 VERIFY_RAISES_ASSERT(V4(1, Scalar(4))) in smallVectors()
48 VERIFY_RAISES_ASSERT(V4(Scalar(1), 4)) in smallVectors()
[all …]
Dunalignedassert.cpp151 VERIFY_RAISES_ASSERT(construct_at_boundary<Vector4f>(8)); in unalignedassert()
152 VERIFY_RAISES_ASSERT(construct_at_boundary<Vector8f>(8)); in unalignedassert()
153 VERIFY_RAISES_ASSERT(construct_at_boundary<Vector12f>(8)); in unalignedassert()
154 VERIFY_RAISES_ASSERT(construct_at_boundary<Vector2d>(8)); in unalignedassert()
155 VERIFY_RAISES_ASSERT(construct_at_boundary<Vector4d>(8)); in unalignedassert()
156 VERIFY_RAISES_ASSERT(construct_at_boundary<Vector6d>(8)); in unalignedassert()
157 VERIFY_RAISES_ASSERT(construct_at_boundary<Vector8d>(8)); in unalignedassert()
158 VERIFY_RAISES_ASSERT(construct_at_boundary<Vector10d>(8)); in unalignedassert()
159 VERIFY_RAISES_ASSERT(construct_at_boundary<Vector12d>(8)); in unalignedassert()
163 VERIFY_RAISES_ASSERT(construct_at_boundary<Vector4i>(8)); in unalignedassert()
[all …]
Dvectorwiseop.cpp42 VERIFY_RAISES_ASSERT(m2.colwise() += colvec.transpose()); in vectorwiseop_array()
43 VERIFY_RAISES_ASSERT(m1.colwise() + colvec.transpose()); in vectorwiseop_array()
50 VERIFY_RAISES_ASSERT(m2.rowwise() += rowvec.transpose()); in vectorwiseop_array()
51 VERIFY_RAISES_ASSERT(m1.rowwise() + rowvec.transpose()); in vectorwiseop_array()
60 VERIFY_RAISES_ASSERT(m2.colwise() -= colvec.transpose()); in vectorwiseop_array()
61 VERIFY_RAISES_ASSERT(m1.colwise() - colvec.transpose()); in vectorwiseop_array()
68 VERIFY_RAISES_ASSERT(m2.rowwise() -= rowvec.transpose()); in vectorwiseop_array()
69 VERIFY_RAISES_ASSERT(m1.rowwise() - rowvec.transpose()); in vectorwiseop_array()
78 VERIFY_RAISES_ASSERT(m2.colwise() *= colvec.transpose()); in vectorwiseop_array()
79 VERIFY_RAISES_ASSERT(m1.colwise() * colvec.transpose()); in vectorwiseop_array()
[all …]
Dlu.cpp225 VERIFY_RAISES_ASSERT(lu.matrixLU()) in lu_verify_assert()
226 VERIFY_RAISES_ASSERT(lu.permutationP()) in lu_verify_assert()
227 VERIFY_RAISES_ASSERT(lu.permutationQ()) in lu_verify_assert()
228 VERIFY_RAISES_ASSERT(lu.kernel()) in lu_verify_assert()
229 VERIFY_RAISES_ASSERT(lu.image(tmp)) in lu_verify_assert()
230 VERIFY_RAISES_ASSERT(lu.solve(tmp)) in lu_verify_assert()
231 VERIFY_RAISES_ASSERT(lu.determinant()) in lu_verify_assert()
232 VERIFY_RAISES_ASSERT(lu.rank()) in lu_verify_assert()
233 VERIFY_RAISES_ASSERT(lu.dimensionOfKernel()) in lu_verify_assert()
234 VERIFY_RAISES_ASSERT(lu.isInjective()) in lu_verify_assert()
[all …]
Dqr_fullpivoting.cpp117 VERIFY_RAISES_ASSERT(qr.matrixQR()) in qr_verify_assert()
118 VERIFY_RAISES_ASSERT(qr.solve(tmp)) in qr_verify_assert()
119 VERIFY_RAISES_ASSERT(qr.matrixQ()) in qr_verify_assert()
120 VERIFY_RAISES_ASSERT(qr.dimensionOfKernel()) in qr_verify_assert()
121 VERIFY_RAISES_ASSERT(qr.isInjective()) in qr_verify_assert()
122 VERIFY_RAISES_ASSERT(qr.isSurjective()) in qr_verify_assert()
123 VERIFY_RAISES_ASSERT(qr.isInvertible()) in qr_verify_assert()
124 VERIFY_RAISES_ASSERT(qr.inverse()) in qr_verify_assert()
125 VERIFY_RAISES_ASSERT(qr.absDeterminant()) in qr_verify_assert()
126 VERIFY_RAISES_ASSERT(qr.logAbsDeterminant()) in qr_verify_assert()
Dsvd_common.h404 VERIFY_RAISES_ASSERT(VectorXf tmp(10);) in svd_preallocate()
415 VERIFY_RAISES_ASSERT(svd2.matrixU()); in svd_preallocate()
416 VERIFY_RAISES_ASSERT(svd2.matrixV()); in svd_preallocate()
452 VERIFY_RAISES_ASSERT(svd.matrixU()) in svd_verify_assert()
453 VERIFY_RAISES_ASSERT(svd.singularValues()) in svd_verify_assert()
454 VERIFY_RAISES_ASSERT(svd.matrixV()) in svd_verify_assert()
455 VERIFY_RAISES_ASSERT(svd.solve(rhs)) in svd_verify_assert()
459 VERIFY_RAISES_ASSERT(svd.matrixU()) in svd_verify_assert()
460 VERIFY_RAISES_ASSERT(svd.matrixV()) in svd_verify_assert()
462 VERIFY_RAISES_ASSERT(svd.solve(rhs)) in svd_verify_assert()
[all …]
Dcommainitializer.cpp37 VERIFY_RAISES_ASSERT((m_fixed << mat11, mat12, mat11, mat21, mat22)); in test_blocks()
38 VERIFY_RAISES_ASSERT((m_fixed << mat11, mat12, mat21, mat21, mat22)); in test_blocks()
47 VERIFY_RAISES_ASSERT((m_fixed << mat11, mat21, mat12, mat22)); in test_blocks()
73 VERIFY_RAISES_ASSERT( (m3 << 1, 2, 3, 4, 5, 6, 7, 8) ); in test_commainitializer()
76 VERIFY_RAISES_ASSERT( (m3 << 1, 2, 3, 4, 5, 6, 7, 8, 9, 10) ); in test_commainitializer()
Dhessenberg.cpp44 VERIFY_RAISES_ASSERT( hessUninitialized.matrixH() ); in hessenberg()
45 VERIFY_RAISES_ASSERT( hessUninitialized.matrixQ() ); in hessenberg()
46 VERIFY_RAISES_ASSERT( hessUninitialized.householderCoefficients() ); in hessenberg()
47 VERIFY_RAISES_ASSERT( hessUninitialized.packedMatrix() ); in hessenberg()
Djacobisvd.cpp54 VERIFY_RAISES_ASSERT(svd_fullqr.compute(a, ComputeFullU|ComputeThinV)) in jacobisvd_verify_assert()
55 VERIFY_RAISES_ASSERT(svd_fullqr.compute(a, ComputeThinU|ComputeThinV)) in jacobisvd_verify_assert()
56 VERIFY_RAISES_ASSERT(svd_fullqr.compute(a, ComputeThinU|ComputeFullV)) in jacobisvd_verify_assert()
68 VERIFY_RAISES_ASSERT(m.jacobiSvd().matrixU()); in jacobisvd_method()
69 VERIFY_RAISES_ASSERT(m.jacobiSvd().matrixV()); in jacobisvd_method()
Deigensolver_generic.cpp93 VERIFY_RAISES_ASSERT(eig.eigenvectors()); in eigensolver_verify_assert()
94 VERIFY_RAISES_ASSERT(eig.pseudoEigenvectors()); in eigensolver_verify_assert()
95 VERIFY_RAISES_ASSERT(eig.pseudoEigenvalueMatrix()); in eigensolver_verify_assert()
96 VERIFY_RAISES_ASSERT(eig.eigenvalues()); in eigensolver_verify_assert()
100 VERIFY_RAISES_ASSERT(eig.eigenvectors()); in eigensolver_verify_assert()
101 VERIFY_RAISES_ASSERT(eig.pseudoEigenvectors()); in eigensolver_verify_assert()
Deigensolver_selfadjoint.cpp136 VERIFY_RAISES_ASSERT(eiSymmUninitialized.info()); in selfadjointeigensolver()
137 VERIFY_RAISES_ASSERT(eiSymmUninitialized.eigenvalues()); in selfadjointeigensolver()
138 VERIFY_RAISES_ASSERT(eiSymmUninitialized.eigenvectors()); in selfadjointeigensolver()
139 VERIFY_RAISES_ASSERT(eiSymmUninitialized.operatorSqrt()); in selfadjointeigensolver()
140 VERIFY_RAISES_ASSERT(eiSymmUninitialized.operatorInverseSqrt()); in selfadjointeigensolver()
143 VERIFY_RAISES_ASSERT(eiSymmUninitialized.eigenvectors()); in selfadjointeigensolver()
144 VERIFY_RAISES_ASSERT(eiSymmUninitialized.operatorSqrt()); in selfadjointeigensolver()
145 VERIFY_RAISES_ASSERT(eiSymmUninitialized.operatorInverseSqrt()); in selfadjointeigensolver()
Dschur_complex.cpp36 VERIFY_RAISES_ASSERT(csUninitialized.matrixT()); in schur()
37 VERIFY_RAISES_ASSERT(csUninitialized.matrixU()); in schur()
38 VERIFY_RAISES_ASSERT(csUninitialized.info()); in schur()
71 VERIFY_RAISES_ASSERT(csOnlyT.matrixU()); in schur()
Dqr.cpp98 VERIFY_RAISES_ASSERT(qr.matrixQR()) in qr_verify_assert()
99 VERIFY_RAISES_ASSERT(qr.solve(tmp)) in qr_verify_assert()
100 VERIFY_RAISES_ASSERT(qr.householderQ()) in qr_verify_assert()
101 VERIFY_RAISES_ASSERT(qr.absDeterminant()) in qr_verify_assert()
102 VERIFY_RAISES_ASSERT(qr.logAbsDeterminant()) in qr_verify_assert()
Dqr_colpivoting.cpp291 VERIFY_RAISES_ASSERT(qr.matrixQR()) in qr_verify_assert()
292 VERIFY_RAISES_ASSERT(qr.solve(tmp)) in qr_verify_assert()
293 VERIFY_RAISES_ASSERT(qr.householderQ()) in qr_verify_assert()
294 VERIFY_RAISES_ASSERT(qr.dimensionOfKernel()) in qr_verify_assert()
295 VERIFY_RAISES_ASSERT(qr.isInjective()) in qr_verify_assert()
296 VERIFY_RAISES_ASSERT(qr.isSurjective()) in qr_verify_assert()
297 VERIFY_RAISES_ASSERT(qr.isInvertible()) in qr_verify_assert()
298 VERIFY_RAISES_ASSERT(qr.inverse()) in qr_verify_assert()
299 VERIFY_RAISES_ASSERT(qr.absDeterminant()) in qr_verify_assert()
300 VERIFY_RAISES_ASSERT(qr.logAbsDeterminant()) in qr_verify_assert()
Dcholesky.cpp462 VERIFY_RAISES_ASSERT(llt.matrixL()) in cholesky_verify_assert()
463 VERIFY_RAISES_ASSERT(llt.matrixU()) in cholesky_verify_assert()
464 VERIFY_RAISES_ASSERT(llt.solve(tmp)) in cholesky_verify_assert()
465 VERIFY_RAISES_ASSERT(llt.solveInPlace(&tmp)) in cholesky_verify_assert()
468 VERIFY_RAISES_ASSERT(ldlt.matrixL()) in cholesky_verify_assert()
469 VERIFY_RAISES_ASSERT(ldlt.permutationP()) in cholesky_verify_assert()
470 VERIFY_RAISES_ASSERT(ldlt.vectorD()) in cholesky_verify_assert()
471 VERIFY_RAISES_ASSERT(ldlt.isPositive()) in cholesky_verify_assert()
472 VERIFY_RAISES_ASSERT(ldlt.isNegative()) in cholesky_verify_assert()
473 VERIFY_RAISES_ASSERT(ldlt.solve(tmp)) in cholesky_verify_assert()
[all …]
Dadjoint.cpp175 VERIFY_RAISES_ASSERT(a = a.transpose()); in test_adjoint()
176 VERIFY_RAISES_ASSERT(a = a.transpose() + b); in test_adjoint()
177 VERIFY_RAISES_ASSERT(a = b + a.transpose()); in test_adjoint()
178 VERIFY_RAISES_ASSERT(a = a.conjugate().transpose()); in test_adjoint()
179 VERIFY_RAISES_ASSERT(a = a.adjoint()); in test_adjoint()
180 VERIFY_RAISES_ASSERT(a = a.adjoint() + b); in test_adjoint()
181 VERIFY_RAISES_ASSERT(a = b + a.adjoint()); in test_adjoint()
Dschur_real.cpp55 VERIFY_RAISES_ASSERT(rsUninitialized.matrixT()); in schur()
56 VERIFY_RAISES_ASSERT(rsUninitialized.matrixU()); in schur()
57 VERIFY_RAISES_ASSERT(rsUninitialized.info()); in schur()
92 VERIFY_RAISES_ASSERT(rsOnlyT.matrixU()); in schur()
Ddiagonal.cpp79 VERIFY_RAISES_ASSERT( m1 += m1.diagonal() ); in diagonal_assert()
80 VERIFY_RAISES_ASSERT( m1 -= m1.diagonal() ); in diagonal_assert()
81 VERIFY_RAISES_ASSERT( m1.array() *= m1.diagonal().array() ); in diagonal_assert()
82 VERIFY_RAISES_ASSERT( m1.array() /= m1.diagonal().array() ); in diagonal_assert()
Dnomalloc.cpp188 VERIFY_RAISES_ASSERT(RefT r5(m)); in test_reference()
189 VERIFY_RAISES_ASSERT(Ref r6(m.transpose())); in test_reference()
190 VERIFY_RAISES_ASSERT(Ref r7(Scalar(2) * m)); in test_reference()
201 VERIFY_RAISES_ASSERT(RefAligned r12=r10); in test_reference()
202 VERIFY_RAISES_ASSERT(Ref r13=r10); // r10 has more dynamic strides in test_reference()
216 VERIFY_RAISES_ASSERT(MatrixXd dummy(MatrixXd::Random(3,3))); in test_nomalloc()
Deigensolver_complex.cpp148 VERIFY_RAISES_ASSERT(eig.eigenvectors()); in eigensolver_verify_assert()
149 VERIFY_RAISES_ASSERT(eig.eigenvalues()); in eigensolver_verify_assert()
153 VERIFY_RAISES_ASSERT(eig.eigenvectors()); in eigensolver_verify_assert()
Dswap.cpp80 VERIFY_RAISES_ASSERT(m1.swap(m1.row(0))); in swap()
82 VERIFY_RAISES_ASSERT(m1.row(0).swap(m1)); in swap()
Dbdcsvd.cpp46 VERIFY_RAISES_ASSERT(m.bdcSvd().matrixU()); in bdcsvd_method()
47 VERIFY_RAISES_ASSERT(m.bdcSvd().matrixV()); in bdcsvd_method()
Dsparse_basic.cpp51 VERIFY_RAISES_ASSERT( m.coeffRef(zeroCoords[i].x(),zeroCoords[i].y()) = 5 ); in sparse_basic()
63 VERIFY_RAISES_ASSERT( m.coeffRef(-1,1) = 0 ); in sparse_basic()
64 VERIFY_RAISES_ASSERT( m.coeffRef(0,m.cols()) = 0 ); in sparse_basic()
227 VERIFY_RAISES_ASSERT( m1 += m1.innerVector(0) ); in sparse_basic()
228 VERIFY_RAISES_ASSERT( m1 -= m1.innerVector(0) ); in sparse_basic()
229 VERIFY_RAISES_ASSERT( refM1 -= m1.innerVector(0) ); in sparse_basic()
230 VERIFY_RAISES_ASSERT( refM1 += m1.innerVector(0) ); in sparse_basic()
481 VERIFY_RAISES_ASSERT(m4.template selfadjointView<Lower>()); in sparse_basic()
482 VERIFY_RAISES_ASSERT(m4.template selfadjointView<Upper>()); in sparse_basic()
Dredux.cpp144 VERIFY_RAISES_ASSERT(v.head(0).mean()); in vectorRedux()
145 VERIFY_RAISES_ASSERT(v.head(0).minCoeff()); in vectorRedux()
146 VERIFY_RAISES_ASSERT(v.head(0).maxCoeff()); in vectorRedux()
/external/eigen/unsupported/test/
Dcxx11_tensor_concatenation.cpp28 VERIFY_RAISES_ASSERT(concatenation = left.concatenate(right, 1)); in test_dimension_failures()
29 VERIFY_RAISES_ASSERT(concatenation = left.concatenate(right, 2)); in test_dimension_failures()
32 VERIFY_RAISES_ASSERT(concatenation = left.concatenate(right, 3)); in test_dimension_failures()
33 VERIFY_RAISES_ASSERT(concatenation = left.concatenate(right, -1)); in test_dimension_failures()

12