Home
last modified time | relevance | path

Searched refs:VERIFY_RAISES_ASSERT (Results 1 – 25 of 38) 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 …]
Dlu.cpp188 VERIFY_RAISES_ASSERT(lu.matrixLU()) in lu_verify_assert()
189 VERIFY_RAISES_ASSERT(lu.permutationP()) in lu_verify_assert()
190 VERIFY_RAISES_ASSERT(lu.permutationQ()) in lu_verify_assert()
191 VERIFY_RAISES_ASSERT(lu.kernel()) in lu_verify_assert()
192 VERIFY_RAISES_ASSERT(lu.image(tmp)) in lu_verify_assert()
193 VERIFY_RAISES_ASSERT(lu.solve(tmp)) in lu_verify_assert()
194 VERIFY_RAISES_ASSERT(lu.transpose().solve(tmp)) in lu_verify_assert()
195 VERIFY_RAISES_ASSERT(lu.adjoint().solve(tmp)) in lu_verify_assert()
196 VERIFY_RAISES_ASSERT(lu.determinant()) in lu_verify_assert()
197 VERIFY_RAISES_ASSERT(lu.rank()) in lu_verify_assert()
[all …]
Dvectorwiseop.cpp41 VERIFY_RAISES_ASSERT(m2.colwise() += colvec.transpose()); in vectorwiseop_array()
42 VERIFY_RAISES_ASSERT(m1.colwise() + colvec.transpose()); in vectorwiseop_array()
49 VERIFY_RAISES_ASSERT(m2.rowwise() += rowvec.transpose()); in vectorwiseop_array()
50 VERIFY_RAISES_ASSERT(m1.rowwise() + rowvec.transpose()); in vectorwiseop_array()
59 VERIFY_RAISES_ASSERT(m2.colwise() -= colvec.transpose()); in vectorwiseop_array()
60 VERIFY_RAISES_ASSERT(m1.colwise() - colvec.transpose()); in vectorwiseop_array()
67 VERIFY_RAISES_ASSERT(m2.rowwise() -= rowvec.transpose()); in vectorwiseop_array()
68 VERIFY_RAISES_ASSERT(m1.rowwise() - rowvec.transpose()); in vectorwiseop_array()
77 VERIFY_RAISES_ASSERT(m2.colwise() *= colvec.transpose()); in vectorwiseop_array()
78 VERIFY_RAISES_ASSERT(m1.colwise() * colvec.transpose()); in vectorwiseop_array()
[all …]
Dqr_colpivoting.cpp289 VERIFY_RAISES_ASSERT(qr.matrixQR()) in qr_verify_assert()
290 VERIFY_RAISES_ASSERT(qr.solve(tmp)) in qr_verify_assert()
291 VERIFY_RAISES_ASSERT(qr.transpose().solve(tmp)) in qr_verify_assert()
292 VERIFY_RAISES_ASSERT(qr.adjoint().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()
[all …]
Dqr_fullpivoting.cpp114 VERIFY_RAISES_ASSERT(qr.matrixQR()) in qr_verify_assert()
115 VERIFY_RAISES_ASSERT(qr.solve(tmp)) in qr_verify_assert()
116 VERIFY_RAISES_ASSERT(qr.transpose().solve(tmp)) in qr_verify_assert()
117 VERIFY_RAISES_ASSERT(qr.adjoint().solve(tmp)) in qr_verify_assert()
118 VERIFY_RAISES_ASSERT(qr.matrixQ()) in qr_verify_assert()
119 VERIFY_RAISES_ASSERT(qr.dimensionOfKernel()) in qr_verify_assert()
120 VERIFY_RAISES_ASSERT(qr.isInjective()) in qr_verify_assert()
121 VERIFY_RAISES_ASSERT(qr.isSurjective()) in qr_verify_assert()
122 VERIFY_RAISES_ASSERT(qr.isInvertible()) in qr_verify_assert()
123 VERIFY_RAISES_ASSERT(qr.inverse()) in qr_verify_assert()
[all …]
Dsvd_common.h432 VERIFY_RAISES_ASSERT(VectorXf tmp(10);) in svd_preallocate()
443 VERIFY_RAISES_ASSERT(svd2.matrixU()); in svd_preallocate()
444 VERIFY_RAISES_ASSERT(svd2.matrixV()); in svd_preallocate()
479 VERIFY_RAISES_ASSERT(svd.matrixU())
480 VERIFY_RAISES_ASSERT(svd.singularValues())
481 VERIFY_RAISES_ASSERT(svd.matrixV())
482 VERIFY_RAISES_ASSERT(svd.solve(rhs))
483 VERIFY_RAISES_ASSERT(svd.transpose().solve(rhs))
484 VERIFY_RAISES_ASSERT(svd.adjoint().solve(rhs))
488 VERIFY_RAISES_ASSERT(svd.matrixU())
[all …]
Dzerosized.cpp24 VERIFY_RAISES_ASSERT( m.minCoeff() ); in zeroReduction()
25 VERIFY_RAISES_ASSERT( m.maxCoeff() ); in zeroReduction()
27 VERIFY_RAISES_ASSERT( m.minCoeff(&i,&j) ); in zeroReduction()
28 VERIFY_RAISES_ASSERT( m.maxCoeff(&i,&j) ); in zeroReduction()
29 VERIFY_RAISES_ASSERT( m.reshaped().minCoeff(&i) ); in zeroReduction()
30 VERIFY_RAISES_ASSERT( m.reshaped().maxCoeff(&i) ); in zeroReduction()
Dqr.cpp94 VERIFY_RAISES_ASSERT(qr.matrixQR()) in qr_verify_assert()
95 VERIFY_RAISES_ASSERT(qr.solve(tmp)) in qr_verify_assert()
96 VERIFY_RAISES_ASSERT(qr.transpose().solve(tmp)) in qr_verify_assert()
97 VERIFY_RAISES_ASSERT(qr.adjoint().solve(tmp)) in qr_verify_assert()
98 VERIFY_RAISES_ASSERT(qr.householderQ()) in qr_verify_assert()
99 VERIFY_RAISES_ASSERT(qr.absDeterminant()) in qr_verify_assert()
100 VERIFY_RAISES_ASSERT(qr.logAbsDeterminant()) in qr_verify_assert()
Dcommainitializer.cpp39 VERIFY_RAISES_ASSERT((m_fixed << mat11, mat12, mat11, mat21, mat22)); in test_blocks()
43 VERIFY_RAISES_ASSERT((m_fixed << mat11, mat12, mat21, mat21, mat22)); in test_blocks()
53 VERIFY_RAISES_ASSERT((m_fixed << mat11, mat21, mat12, mat22)); in test_blocks()
80 VERIFY_RAISES_ASSERT( (m3 << 1, 2, 3, 4, 5, 6, 7, 8) ); in test_basics()
83 VERIFY_RAISES_ASSERT( (m3 << 1, 2, 3, 4, 5, 6, 7, 8, 9, 10) ); in test_basics()
Ddiagonal.cpp81 VERIFY_RAISES_ASSERT( m1 += m1.diagonal() ); in diagonal_assert()
82 VERIFY_RAISES_ASSERT( m1 -= m1.diagonal() ); in diagonal_assert()
83 VERIFY_RAISES_ASSERT( m1.array() *= m1.diagonal().array() ); in diagonal_assert()
84 VERIFY_RAISES_ASSERT( m1.array() /= m1.diagonal().array() ); in diagonal_assert()
87 VERIFY_RAISES_ASSERT( m1.diagonal(cols+1) ); in diagonal_assert()
88 VERIFY_RAISES_ASSERT( m1.diagonal(-(rows+1)) ); in diagonal_assert()
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()
Dcholesky.cpp476 VERIFY_RAISES_ASSERT(llt.matrixL()) in cholesky_verify_assert()
477 VERIFY_RAISES_ASSERT(llt.matrixU()) in cholesky_verify_assert()
478 VERIFY_RAISES_ASSERT(llt.solve(tmp)) in cholesky_verify_assert()
479 VERIFY_RAISES_ASSERT(llt.transpose().solve(tmp)) in cholesky_verify_assert()
480 VERIFY_RAISES_ASSERT(llt.adjoint().solve(tmp)) in cholesky_verify_assert()
481 VERIFY_RAISES_ASSERT(llt.solveInPlace(tmp)) in cholesky_verify_assert()
484 VERIFY_RAISES_ASSERT(ldlt.matrixL()) in cholesky_verify_assert()
485 VERIFY_RAISES_ASSERT(ldlt.transpositionsP()) in cholesky_verify_assert()
486 VERIFY_RAISES_ASSERT(ldlt.vectorD()) in cholesky_verify_assert()
487 VERIFY_RAISES_ASSERT(ldlt.isPositive()) in cholesky_verify_assert()
[all …]
Djacobisvd.cpp56 VERIFY_RAISES_ASSERT(svd_fullqr.compute(a, ComputeFullU|ComputeThinV)) in jacobisvd_verify_assert()
57 VERIFY_RAISES_ASSERT(svd_fullqr.compute(a, ComputeThinU|ComputeThinV)) in jacobisvd_verify_assert()
58 VERIFY_RAISES_ASSERT(svd_fullqr.compute(a, ComputeThinU|ComputeFullV)) in jacobisvd_verify_assert()
70 VERIFY_RAISES_ASSERT(m.jacobiSvd().matrixU()); in jacobisvd_method()
71 VERIFY_RAISES_ASSERT(m.jacobiSvd().matrixV()); in jacobisvd_method()
Deigensolver_selfadjoint.cpp135 VERIFY_RAISES_ASSERT(eiSymmUninitialized.info()); in selfadjointeigensolver()
136 VERIFY_RAISES_ASSERT(eiSymmUninitialized.eigenvalues()); in selfadjointeigensolver()
137 VERIFY_RAISES_ASSERT(eiSymmUninitialized.eigenvectors()); in selfadjointeigensolver()
138 VERIFY_RAISES_ASSERT(eiSymmUninitialized.operatorSqrt()); in selfadjointeigensolver()
139 VERIFY_RAISES_ASSERT(eiSymmUninitialized.operatorInverseSqrt()); in selfadjointeigensolver()
142 VERIFY_RAISES_ASSERT(eiSymmUninitialized.eigenvectors()); in selfadjointeigensolver()
143 VERIFY_RAISES_ASSERT(eiSymmUninitialized.operatorSqrt()); in selfadjointeigensolver()
144 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()
Dschur_real.cpp53 VERIFY_RAISES_ASSERT(rsUninitialized.matrixT()); in schur()
54 VERIFY_RAISES_ASSERT(rsUninitialized.matrixU()); in schur()
55 VERIFY_RAISES_ASSERT(rsUninitialized.info()); in schur()
90 VERIFY_RAISES_ASSERT(rsOnlyT.matrixU()); in schur()
Dadjoint.cpp155 VERIFY_RAISES_ASSERT(a = a.transpose()); in adjoint_extra()
156 VERIFY_RAISES_ASSERT(a = a.transpose() + b); in adjoint_extra()
157 VERIFY_RAISES_ASSERT(a = b + a.transpose()); in adjoint_extra()
158 VERIFY_RAISES_ASSERT(a = a.conjugate().transpose()); in adjoint_extra()
159 VERIFY_RAISES_ASSERT(a = a.adjoint()); in adjoint_extra()
160 VERIFY_RAISES_ASSERT(a = a.adjoint() + b); in adjoint_extra()
161 VERIFY_RAISES_ASSERT(a = b + a.adjoint()); in adjoint_extra()
Deigensolver_generic.cpp101 VERIFY_RAISES_ASSERT(eig.eigenvectors()); in eigensolver_verify_assert()
102 VERIFY_RAISES_ASSERT(eig.pseudoEigenvectors()); in eigensolver_verify_assert()
103 VERIFY_RAISES_ASSERT(eig.pseudoEigenvalueMatrix()); in eigensolver_verify_assert()
104 VERIFY_RAISES_ASSERT(eig.eigenvalues()); in eigensolver_verify_assert()
108 VERIFY_RAISES_ASSERT(eig.eigenvectors()); in eigensolver_verify_assert()
109 VERIFY_RAISES_ASSERT(eig.pseudoEigenvectors()); in eigensolver_verify_assert()
Dnomalloc.cpp187 VERIFY_RAISES_ASSERT(RefT r5(m)); in test_reference()
188 VERIFY_RAISES_ASSERT(Ref r6(m.transpose())); in test_reference()
189 VERIFY_RAISES_ASSERT(Ref r7(Scalar(2) * m)); in test_reference()
200 VERIFY_RAISES_ASSERT(RefAligned r12=r10); in test_reference()
201 VERIFY_RAISES_ASSERT(Ref r13=r10); // r10 has more dynamic strides in test_reference()
215 VERIFY_RAISES_ASSERT(MatrixXd dummy(MatrixXd::Random(3,3))); in EIGEN_DECLARE_TEST()
Ddiagonal_matrix_variadic_ctor.cpp26 VERIFY_RAISES_ASSERT((DiagMatrix5{raw[0], raw[1], raw[2], raw[3]})); in assertionTest()
27 VERIFY_RAISES_ASSERT((DiagMatrix5{raw[0], raw[1], raw[3]})); in assertionTest()
28 VERIFY_RAISES_ASSERT((DiagMatrix7{raw[0], raw[1], raw[2], raw[3]})); in assertionTest()
30 VERIFY_RAISES_ASSERT((DiagMatrixX { in assertionTest()
Dswap.cpp80 VERIFY_RAISES_ASSERT(m1.swap(m1.row(0))); in swap()
82 VERIFY_RAISES_ASSERT(m1.row(0).swap(m1)); in swap()
Deigensolver_complex.cpp147 VERIFY_RAISES_ASSERT(eig.eigenvectors()); in eigensolver_verify_assert()
148 VERIFY_RAISES_ASSERT(eig.eigenvalues()); in eigensolver_verify_assert()
152 VERIFY_RAISES_ASSERT(eig.eigenvectors()); in eigensolver_verify_assert()
Dmixingtypes.cpp58 VERIFY_RAISES_ASSERT(vf=vd); in raise_assertion()
59 VERIFY_RAISES_ASSERT(vf+=vd); in raise_assertion()
60 VERIFY_RAISES_ASSERT(vf-=vd); in raise_assertion()
61 VERIFY_RAISES_ASSERT(vd=vf); in raise_assertion()
62 VERIFY_RAISES_ASSERT(vd+=vf); in raise_assertion()
63 VERIFY_RAISES_ASSERT(vd-=vf); in raise_assertion()
69 VERIFY_RAISES_ASSERT(vd.dot(vf)); in raise_assertion()
Dbdcsvd.cpp50 VERIFY_RAISES_ASSERT(m.bdcSvd().matrixU()); in bdcsvd_method()
51 VERIFY_RAISES_ASSERT(m.bdcSvd().matrixV()); in bdcsvd_method()
/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