/external/eigen/test/ |
D | smallvectors.cpp | 38 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 …]
|
D | lu.cpp | 188 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 …]
|
D | vectorwiseop.cpp | 41 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 …]
|
D | qr_colpivoting.cpp | 289 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 …]
|
D | qr_fullpivoting.cpp | 114 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 …]
|
D | svd_common.h | 432 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 …]
|
D | zerosized.cpp | 24 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()
|
D | qr.cpp | 94 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()
|
D | commainitializer.cpp | 39 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()
|
D | diagonal.cpp | 81 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()
|
D | hessenberg.cpp | 44 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()
|
D | cholesky.cpp | 476 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 …]
|
D | jacobisvd.cpp | 56 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()
|
D | eigensolver_selfadjoint.cpp | 135 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()
|
D | schur_complex.cpp | 36 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()
|
D | schur_real.cpp | 53 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()
|
D | adjoint.cpp | 155 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()
|
D | eigensolver_generic.cpp | 101 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()
|
D | nomalloc.cpp | 187 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()
|
D | diagonal_matrix_variadic_ctor.cpp | 26 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()
|
D | swap.cpp | 80 VERIFY_RAISES_ASSERT(m1.swap(m1.row(0))); in swap() 82 VERIFY_RAISES_ASSERT(m1.row(0).swap(m1)); in swap()
|
D | eigensolver_complex.cpp | 147 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()
|
D | mixingtypes.cpp | 58 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()
|
D | bdcsvd.cpp | 50 VERIFY_RAISES_ASSERT(m.bdcSvd().matrixU()); in bdcsvd_method() 51 VERIFY_RAISES_ASSERT(m.bdcSvd().matrixV()); in bdcsvd_method()
|
/external/eigen/unsupported/test/ |
D | cxx11_tensor_concatenation.cpp | 28 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()
|