/external/eigen/unsupported/test/ |
D | cxx11_tensor_simple.cpp | 32 VERIFY_IS_EQUAL(scalar1.rank(), 0); in test_0d() 33 VERIFY_IS_EQUAL(scalar1.size(), 1); in test_0d() 35 VERIFY_IS_EQUAL(scalar1(), 7); in test_0d() 36 VERIFY_IS_EQUAL(scalar2(), 13); in test_0d() 37 VERIFY_IS_EQUAL(scalar3(), 17); in test_0d() 38 VERIFY_IS_EQUAL(scalar4(), 0); in test_0d() 42 VERIFY_IS_EQUAL(scalar5(), 7); in test_0d() 43 VERIFY_IS_EQUAL(scalar5.data()[0], 7); in test_0d() 64 VERIFY_IS_EQUAL((vec1.rank()), 1); in test_1d() 65 VERIFY_IS_EQUAL((vec1.size()), 6); in test_1d() [all …]
|
D | cxx11_tensor_assign.cpp | 38 VERIFY_IS_EQUAL(vec3(0), 4); in test_1d() 39 VERIFY_IS_EQUAL(vec3(1), 8); in test_1d() 40 VERIFY_IS_EQUAL(vec3(2), 15); in test_1d() 41 VERIFY_IS_EQUAL(vec3(3), 16); in test_1d() 42 VERIFY_IS_EQUAL(vec3(4), 23); in test_1d() 43 VERIFY_IS_EQUAL(vec3(5), 42); in test_1d() 45 VERIFY_IS_EQUAL(vec4(0), 0); in test_1d() 46 VERIFY_IS_EQUAL(vec4(1), 1); in test_1d() 47 VERIFY_IS_EQUAL(vec4(2), 2); in test_1d() 48 VERIFY_IS_EQUAL(vec4(3), 3); in test_1d() [all …]
|
D | cxx11_runqueue.cpp | 33 VERIFY_IS_EQUAL(0u, q.Size()); in test_basic_runqueue() 34 VERIFY_IS_EQUAL(0, q.PopFront()); in test_basic_runqueue() 36 VERIFY_IS_EQUAL(0u, q.PopBackHalf(&stolen)); in test_basic_runqueue() 37 VERIFY_IS_EQUAL(0u, stolen.size()); in test_basic_runqueue() 39 VERIFY_IS_EQUAL(0, q.PushFront(1)); in test_basic_runqueue() 40 VERIFY_IS_EQUAL(1u, q.Size()); in test_basic_runqueue() 41 VERIFY_IS_EQUAL(1, q.PopFront()); in test_basic_runqueue() 42 VERIFY_IS_EQUAL(0u, q.Size()); in test_basic_runqueue() 44 VERIFY_IS_EQUAL(0, q.PushFront(2)); in test_basic_runqueue() 45 VERIFY_IS_EQUAL(1u, q.Size()); in test_basic_runqueue() [all …]
|
D | cxx11_tensor_map.cpp | 28 VERIFY_IS_EQUAL(scalar1.rank(), 0); in test_0d() 29 VERIFY_IS_EQUAL(scalar1.size(), 1); in test_0d() 31 VERIFY_IS_EQUAL(scalar3(), 7); in test_0d() 32 VERIFY_IS_EQUAL(scalar4(), 13); in test_0d() 50 VERIFY_IS_EQUAL(vec1.rank(), 1); in test_1d() 51 VERIFY_IS_EQUAL(vec1.size(), 6); in test_1d() 52 VERIFY_IS_EQUAL(vec1.dimension(0), 6); in test_1d() 54 VERIFY_IS_EQUAL(vec3(0), 4); in test_1d() 55 VERIFY_IS_EQUAL(vec3(1), 8); in test_1d() 56 VERIFY_IS_EQUAL(vec3(2), 15); in test_1d() [all …]
|
D | cxx11_tensor_patch.cpp | 32 VERIFY_IS_EQUAL(no_patch.dimension(0), 1); in test_simple_patch() 33 VERIFY_IS_EQUAL(no_patch.dimension(1), 1); in test_simple_patch() 34 VERIFY_IS_EQUAL(no_patch.dimension(2), 1); in test_simple_patch() 35 VERIFY_IS_EQUAL(no_patch.dimension(3), 1); in test_simple_patch() 36 VERIFY_IS_EQUAL(no_patch.dimension(4), tensor.size()); in test_simple_patch() 38 VERIFY_IS_EQUAL(no_patch.dimension(0), tensor.size()); in test_simple_patch() 39 VERIFY_IS_EQUAL(no_patch.dimension(1), 1); in test_simple_patch() 40 VERIFY_IS_EQUAL(no_patch.dimension(2), 1); in test_simple_patch() 41 VERIFY_IS_EQUAL(no_patch.dimension(3), 1); in test_simple_patch() 42 VERIFY_IS_EQUAL(no_patch.dimension(4), 1); in test_simple_patch() [all …]
|
D | cxx11_tensor_image_patch.cpp | 21 VERIFY_IS_EQUAL(tensor.dimension(0), tensor_row_major.dimension(3)); in test_simple_patch() 22 VERIFY_IS_EQUAL(tensor.dimension(1), tensor_row_major.dimension(2)); in test_simple_patch() 23 VERIFY_IS_EQUAL(tensor.dimension(2), tensor_row_major.dimension(1)); in test_simple_patch() 24 VERIFY_IS_EQUAL(tensor.dimension(3), tensor_row_major.dimension(0)); in test_simple_patch() 29 VERIFY_IS_EQUAL(single_pixel_patch.dimension(0), 2); in test_simple_patch() 30 VERIFY_IS_EQUAL(single_pixel_patch.dimension(1), 1); in test_simple_patch() 31 VERIFY_IS_EQUAL(single_pixel_patch.dimension(2), 1); in test_simple_patch() 32 VERIFY_IS_EQUAL(single_pixel_patch.dimension(3), 3*5); in test_simple_patch() 33 VERIFY_IS_EQUAL(single_pixel_patch.dimension(4), 7); in test_simple_patch() 38 VERIFY_IS_EQUAL(single_pixel_patch_row_major.dimension(0), 7); in test_simple_patch() [all …]
|
D | cxx11_tensor_chipping.cpp | 25 VERIFY_IS_EQUAL(chip1.dimension(0), 3); in test_simple_chip() 26 VERIFY_IS_EQUAL(chip1.dimension(1), 5); in test_simple_chip() 27 VERIFY_IS_EQUAL(chip1.dimension(2), 7); in test_simple_chip() 28 VERIFY_IS_EQUAL(chip1.dimension(3), 11); in test_simple_chip() 34 VERIFY_IS_EQUAL(chip1(i,j,k,l), tensor(1,i,j,k,l)); in test_simple_chip() 41 VERIFY_IS_EQUAL(chip2.dimension(0), 2); in test_simple_chip() 42 VERIFY_IS_EQUAL(chip2.dimension(1), 5); in test_simple_chip() 43 VERIFY_IS_EQUAL(chip2.dimension(2), 7); in test_simple_chip() 44 VERIFY_IS_EQUAL(chip2.dimension(3), 11); in test_simple_chip() 49 VERIFY_IS_EQUAL(chip2(i,j,k,l), tensor(i,1,j,k,l)); in test_simple_chip() [all …]
|
D | cxx11_tensor_volume_patch.cpp | 15 VERIFY_IS_EQUAL(single_voxel_patch.dimension(0), 4); in test_single_voxel_patch() 16 VERIFY_IS_EQUAL(single_voxel_patch.dimension(1), 1); in test_single_voxel_patch() 17 VERIFY_IS_EQUAL(single_voxel_patch.dimension(2), 1); in test_single_voxel_patch() 18 VERIFY_IS_EQUAL(single_voxel_patch.dimension(3), 1); in test_single_voxel_patch() 19 VERIFY_IS_EQUAL(single_voxel_patch.dimension(4), 2 * 3 * 5); in test_single_voxel_patch() 20 VERIFY_IS_EQUAL(single_voxel_patch.dimension(5), 7); in test_single_voxel_patch() 24 VERIFY_IS_EQUAL(single_voxel_patch_row_major.dimension(0), 7); in test_single_voxel_patch() 25 VERIFY_IS_EQUAL(single_voxel_patch_row_major.dimension(1), 2 * 3 * 5); in test_single_voxel_patch() 26 VERIFY_IS_EQUAL(single_voxel_patch_row_major.dimension(2), 1); in test_single_voxel_patch() 27 VERIFY_IS_EQUAL(single_voxel_patch_row_major.dimension(3), 1); in test_single_voxel_patch() [all …]
|
D | cxx11_tensor_dimension.cpp | 21 VERIFY_IS_EQUAL((int)Eigen::internal::array_get<0>(dimensions), 2); in test_dynamic_size() 22 VERIFY_IS_EQUAL((int)Eigen::internal::array_get<1>(dimensions), 3); in test_dynamic_size() 23 VERIFY_IS_EQUAL((int)Eigen::internal::array_get<2>(dimensions), 7); in test_dynamic_size() 24 VERIFY_IS_EQUAL((int)dimensions.TotalSize(), 2*3*7); in test_dynamic_size() 25 VERIFY_IS_EQUAL((int)dimensions[0], 2); in test_dynamic_size() 26 VERIFY_IS_EQUAL((int)dimensions[1], 3); in test_dynamic_size() 27 VERIFY_IS_EQUAL((int)dimensions[2], 7); in test_dynamic_size() 34 VERIFY_IS_EQUAL((int)Eigen::internal::array_get<0>(dimensions), 2); in test_fixed_size() 35 VERIFY_IS_EQUAL((int)Eigen::internal::array_get<1>(dimensions), 3); in test_fixed_size() 36 VERIFY_IS_EQUAL((int)Eigen::internal::array_get<2>(dimensions), 7); in test_fixed_size() [all …]
|
D | cxx11_tensor_ref.cpp | 25 VERIFY_IS_EQUAL(ref3.data(), input.data()); in test_simple_lvalue_ref() 26 VERIFY_IS_EQUAL(ref4.data(), input.data()); in test_simple_lvalue_ref() 29 VERIFY_IS_EQUAL(ref3(i), input(i)); in test_simple_lvalue_ref() 30 VERIFY_IS_EQUAL(ref4(i), input(i)); in test_simple_lvalue_ref() 37 VERIFY_IS_EQUAL(input(i), i); in test_simple_lvalue_ref() 43 VERIFY_IS_EQUAL(input(i), -i*2); in test_simple_lvalue_ref() 64 VERIFY_IS_EQUAL(ref3(i), input1(i) + input2(i)); in test_simple_rvalue_ref() 65 VERIFY_IS_EQUAL(ref4(i), input1(i) + input2(i)); in test_simple_rvalue_ref() 76 VERIFY_IS_EQUAL(ref.data(), input.data()); in test_multiple_dims() 77 VERIFY_IS_EQUAL(ref.dimension(0), 3); in test_multiple_dims() [all …]
|
D | cxx11_tensor_broadcasting.cpp | 30 VERIFY_IS_EQUAL(no_broadcast.dimension(0), 2); in test_simple_broadcasting() 31 VERIFY_IS_EQUAL(no_broadcast.dimension(1), 3); in test_simple_broadcasting() 32 VERIFY_IS_EQUAL(no_broadcast.dimension(2), 5); in test_simple_broadcasting() 33 VERIFY_IS_EQUAL(no_broadcast.dimension(3), 7); in test_simple_broadcasting() 39 VERIFY_IS_EQUAL(tensor(i,j,k,l), no_broadcast(i,j,k,l)); in test_simple_broadcasting() 52 VERIFY_IS_EQUAL(broadcast.dimension(0), 4); in test_simple_broadcasting() 53 VERIFY_IS_EQUAL(broadcast.dimension(1), 9); in test_simple_broadcasting() 54 VERIFY_IS_EQUAL(broadcast.dimension(2), 5); in test_simple_broadcasting() 55 VERIFY_IS_EQUAL(broadcast.dimension(3), 28); in test_simple_broadcasting() 61 VERIFY_IS_EQUAL(tensor(i%2,j%3,k%5,l%7), broadcast(i,j,k,l)); in test_simple_broadcasting() [all …]
|
D | cxx11_tensor_shuffling.cpp | 31 VERIFY_IS_EQUAL(no_shuffle.dimension(0), 2); in test_simple_shuffling() 32 VERIFY_IS_EQUAL(no_shuffle.dimension(1), 3); in test_simple_shuffling() 33 VERIFY_IS_EQUAL(no_shuffle.dimension(2), 5); in test_simple_shuffling() 34 VERIFY_IS_EQUAL(no_shuffle.dimension(3), 7); in test_simple_shuffling() 40 VERIFY_IS_EQUAL(tensor(i,j,k,l), no_shuffle(i,j,k,l)); in test_simple_shuffling() 53 VERIFY_IS_EQUAL(shuffle.dimension(0), 5); in test_simple_shuffling() 54 VERIFY_IS_EQUAL(shuffle.dimension(1), 7); in test_simple_shuffling() 55 VERIFY_IS_EQUAL(shuffle.dimension(2), 3); in test_simple_shuffling() 56 VERIFY_IS_EQUAL(shuffle.dimension(3), 2); in test_simple_shuffling() 62 VERIFY_IS_EQUAL(tensor(i,j,k,l), shuffle(k,l,j,i)); in test_simple_shuffling() [all …]
|
D | cxx11_tensor_reverse.cpp | 33 VERIFY_IS_EQUAL(reversed_tensor.dimension(0), 2); in test_simple_reverse() 34 VERIFY_IS_EQUAL(reversed_tensor.dimension(1), 3); in test_simple_reverse() 35 VERIFY_IS_EQUAL(reversed_tensor.dimension(2), 5); in test_simple_reverse() 36 VERIFY_IS_EQUAL(reversed_tensor.dimension(3), 7); in test_simple_reverse() 42 VERIFY_IS_EQUAL(tensor(i,j,k,l), reversed_tensor(i,2-j,4-k,l)); in test_simple_reverse() 55 VERIFY_IS_EQUAL(reversed_tensor.dimension(0), 2); in test_simple_reverse() 56 VERIFY_IS_EQUAL(reversed_tensor.dimension(1), 3); in test_simple_reverse() 57 VERIFY_IS_EQUAL(reversed_tensor.dimension(2), 5); in test_simple_reverse() 58 VERIFY_IS_EQUAL(reversed_tensor.dimension(3), 7); in test_simple_reverse() 65 VERIFY_IS_EQUAL(tensor(i,j,k,l), reversed_tensor(1-i,j,k,l)); in test_simple_reverse() [all …]
|
D | cxx11_tensor_concatenation.cpp | 65 VERIFY_IS_EQUAL(concatenation.dimension(0), 4); in test_simple_concatenation() 66 VERIFY_IS_EQUAL(concatenation.dimension(1), 3); in test_simple_concatenation() 67 VERIFY_IS_EQUAL(concatenation.dimension(2), 1); in test_simple_concatenation() 70 VERIFY_IS_EQUAL(concatenation(i, j, 0), left(i, j, 0)); in test_simple_concatenation() 73 VERIFY_IS_EQUAL(concatenation(i, j, 0), right(i - 2, j, 0)); in test_simple_concatenation() 78 VERIFY_IS_EQUAL(concatenation.dimension(0), 2); in test_simple_concatenation() 79 VERIFY_IS_EQUAL(concatenation.dimension(1), 6); in test_simple_concatenation() 80 VERIFY_IS_EQUAL(concatenation.dimension(2), 1); in test_simple_concatenation() 83 VERIFY_IS_EQUAL(concatenation(i, j, 0), left(i, j, 0)); in test_simple_concatenation() 86 VERIFY_IS_EQUAL(concatenation(i, j, 0), right(i, j - 3, 0)); in test_simple_concatenation() [all …]
|
D | cxx11_tensor_ifft.cpp | 31 VERIFY_IS_EQUAL(tensor_after_fft.dimension(0), sequence_length); in test_1D_fft_ifft_invariant() 32 VERIFY_IS_EQUAL(tensor_after_fft_ifft.dimension(0), sequence_length); in test_1D_fft_ifft_invariant() 54 VERIFY_IS_EQUAL(tensor_after_fft.dimension(0), dim0); in test_2D_fft_ifft_invariant() 55 VERIFY_IS_EQUAL(tensor_after_fft.dimension(1), dim1); in test_2D_fft_ifft_invariant() 56 VERIFY_IS_EQUAL(tensor_after_fft_ifft.dimension(0), dim0); in test_2D_fft_ifft_invariant() 57 VERIFY_IS_EQUAL(tensor_after_fft_ifft.dimension(1), dim1); in test_2D_fft_ifft_invariant() 83 VERIFY_IS_EQUAL(tensor_after_fft.dimension(0), dim0); in test_3D_fft_ifft_invariant() 84 VERIFY_IS_EQUAL(tensor_after_fft.dimension(1), dim1); in test_3D_fft_ifft_invariant() 85 VERIFY_IS_EQUAL(tensor_after_fft.dimension(2), dim2); in test_3D_fft_ifft_invariant() 86 VERIFY_IS_EQUAL(tensor_after_fft_ifft.dimension(0), dim0); in test_3D_fft_ifft_invariant() [all …]
|
D | NonLinearOptimization.cpp | 182 VERIFY_IS_EQUAL(info, 1); in testLmder1() 183 VERIFY_IS_EQUAL(lm.nfev, 6); in testLmder1() 184 VERIFY_IS_EQUAL(lm.njev, 5); in testLmder1() 211 VERIFY_IS_EQUAL(info, 1); in testLmder() 212 VERIFY_IS_EQUAL(lm.nfev, 6); in testLmder() 213 VERIFY_IS_EQUAL(lm.njev, 5); in testLmder() 296 VERIFY_IS_EQUAL(info, 1); in testHybrj1() 297 VERIFY_IS_EQUAL(solver.nfev, 11); in testHybrj1() 298 VERIFY_IS_EQUAL(solver.njev, 1); in testHybrj1() 331 VERIFY_IS_EQUAL(info, 1); in testHybrj() [all …]
|
D | levenberg_marquardt.cpp | 80 VERIFY_IS_EQUAL(info, 1); in testLmder1() 81 VERIFY_IS_EQUAL(lm.nfev(), 6); in testLmder1() 82 VERIFY_IS_EQUAL(lm.njev(), 5); in testLmder1() 109 VERIFY_IS_EQUAL(info, 1); in testLmder() 110 VERIFY_IS_EQUAL(lm.nfev(), 6); in testLmder() 111 VERIFY_IS_EQUAL(lm.njev(), 5); in testLmder() 182 VERIFY_IS_EQUAL(info, 1); in testLmdif1() 213 VERIFY_IS_EQUAL(info, 1); in testLmdif() 298 VERIFY_IS_EQUAL(info, 1); in testNistChwirut2() 300 VERIFY_IS_EQUAL(lm.njev(), 8); in testNistChwirut2() [all …]
|
D | cxx11_tensor_morphing.cpp | 36 VERIFY_IS_EQUAL(tensor1(i,j,0,k,0), tensor2(i,j,k)); in test_simple_reshape() 37 VERIFY_IS_EQUAL(tensor1(i,j,0,k,0), tensor3(i+2*j,k)); in test_simple_reshape() 38 VERIFY_IS_EQUAL(tensor1(i,j,0,k,0), tensor4(i,j+3*k)); in test_simple_reshape() 86 VERIFY_IS_EQUAL(tensor2d(i+2*j,k), tensor(i,j,k)); in test_reshape_as_lvalue() 87 VERIFY_IS_EQUAL(tensor5d(i,j,0,k,0), tensor(i,j,k)); in test_reshape_as_lvalue() 103 VERIFY_IS_EQUAL(slice1(0,0,0,0,0), tensor(1,2,3,4,5)); in test_simple_slice() 112 VERIFY_IS_EQUAL(slice2(0,0,i,j,k), tensor(1,1,3+i,4+j,5+k)); in test_simple_slice() 126 VERIFY_IS_EQUAL(slice_ref(0), 42); in test_const_slice() 198 VERIFY_IS_EQUAL(result(i,j,k), tensor1(i,j,k)); in test_slice_as_lvalue() 199 VERIFY_IS_EQUAL(result(i+2,j,k), tensor2(i,j,k)); in test_slice_as_lvalue() [all …]
|
D | cxx11_tensor_symmetry.cpp | 61 VERIFY_IS_EQUAL(it->second, flags); in doCheck_() 103 VERIFY_IS_EQUAL(group.size(), 6u); in test_symgroups_static() 104 VERIFY_IS_EQUAL(group.globalFlags(), GlobalImagFlag); in test_symgroups_static() 106 VERIFY_IS_EQUAL(found.size(), 6u); in test_symgroups_static() 120 VERIFY_IS_EQUAL(group.size(), 6u); in test_symgroups_dynamic() 121 VERIFY_IS_EQUAL(group.globalFlags(), GlobalImagFlag); in test_symgroups_dynamic() 132 VERIFY_IS_EQUAL(group.size(), 6u); in test_symgroups_dynamic() 133 VERIFY_IS_EQUAL(group.globalFlags(), GlobalImagFlag); in test_symgroups_dynamic() 135 VERIFY_IS_EQUAL(found.size(), 6u); in test_symgroups_dynamic() 161 VERIFY_IS_EQUAL(group.size(), 6u); in test_symgroups_selection() [all …]
|
D | cxx11_tensor_inflation.cpp | 31 VERIFY_IS_EQUAL(no_stride.dimension(0), 2); in test_simple_inflation() 32 VERIFY_IS_EQUAL(no_stride.dimension(1), 3); in test_simple_inflation() 33 VERIFY_IS_EQUAL(no_stride.dimension(2), 5); in test_simple_inflation() 34 VERIFY_IS_EQUAL(no_stride.dimension(3), 7); in test_simple_inflation() 40 VERIFY_IS_EQUAL(tensor(i,j,k,l), no_stride(i,j,k,l)); in test_simple_inflation() 53 VERIFY_IS_EQUAL(inflated.dimension(0), 3); in test_simple_inflation() 54 VERIFY_IS_EQUAL(inflated.dimension(1), 9); in test_simple_inflation() 55 VERIFY_IS_EQUAL(inflated.dimension(2), 9); in test_simple_inflation() 56 VERIFY_IS_EQUAL(inflated.dimension(3), 19); in test_simple_inflation() 66 VERIFY_IS_EQUAL(inflated(i,j,k,l), in test_simple_inflation() [all …]
|
D | cxx11_tensor_index_list.cpp | 22 VERIFY_IS_EQUAL(internal::array_get<0>(reduction_axis), 0); in test_static_index_list() 23 VERIFY_IS_EQUAL(internal::array_get<1>(reduction_axis), 1); in test_static_index_list() 24 VERIFY_IS_EQUAL(internal::array_get<2>(reduction_axis), 2); in test_static_index_list() 25 VERIFY_IS_EQUAL(static_cast<DenseIndex>(reduction_axis[0]), 0); in test_static_index_list() 26 VERIFY_IS_EQUAL(static_cast<DenseIndex>(reduction_axis[1]), 1); in test_static_index_list() 27 VERIFY_IS_EQUAL(static_cast<DenseIndex>(reduction_axis[2]), 2); in test_static_index_list() 184 VERIFY_IS_EQUAL(d2_a[0].first, 0); in test_type2indexpair_list() 185 VERIFY_IS_EQUAL(d2_a[0].second, 10); in test_type2indexpair_list() 186 VERIFY_IS_EQUAL(d2_a[1].first, 1); in test_type2indexpair_list() 187 VERIFY_IS_EQUAL(d2_a[1].second, 11); in test_type2indexpair_list() [all …]
|
/external/eigen/test/ |
D | half_float.cpp | 26 VERIFY_IS_EQUAL(half(1.0f).x, 0x3c00); in test_conversion() 27 VERIFY_IS_EQUAL(half(0.5f).x, 0x3800); in test_conversion() 28 VERIFY_IS_EQUAL(half(0.33333f).x, 0x3555); in test_conversion() 29 VERIFY_IS_EQUAL(half(0.0f).x, 0x0000); in test_conversion() 30 VERIFY_IS_EQUAL(half(-0.0f).x, 0x8000); in test_conversion() 31 VERIFY_IS_EQUAL(half(65504.0f).x, 0x7bff); in test_conversion() 32 VERIFY_IS_EQUAL(half(65536.0f).x, 0x7c00); // Becomes infinity. in test_conversion() 35 VERIFY_IS_EQUAL(half(-5.96046e-08f).x, 0x8001); in test_conversion() 36 VERIFY_IS_EQUAL(half(5.96046e-08f).x, 0x0001); in test_conversion() 37 VERIFY_IS_EQUAL(half(1.19209e-07f).x, 0x0002); in test_conversion() [all …]
|
D | 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))); in corners_fixedsize() 61 VERIFY_IS_EQUAL((matrix.template topRightCorner<r,c>()), (matrix.template block<r,c>(0,cols-c))); in corners_fixedsize() 62 …VERIFY_IS_EQUAL((matrix.template bottomLeftCorner<r,c>()), (matrix.template block<r,c>(rows-r,0))); in corners_fixedsize() 63 …VERIFY_IS_EQUAL((matrix.template bottomRightCorner<r,c>()), (matrix.template block<r,c>(rows-r,col… in corners_fixedsize() 65 …VERIFY_IS_EQUAL((matrix.template topLeftCorner<r,c>()), (matrix.template topLeftCorner<r,Dynamic>(… in corners_fixedsize() 66 …VERIFY_IS_EQUAL((matrix.template topRightCorner<r,c>()), (matrix.template topRightCorner<r,Dynamic… in corners_fixedsize() 67 …VERIFY_IS_EQUAL((matrix.template bottomLeftCorner<r,c>()), (matrix.template bottomLeftCorner<r,Dyn… in corners_fixedsize() 68 …VERIFY_IS_EQUAL((matrix.template bottomRightCorner<r,c>()), (matrix.template bottomRightCorner<r,D… in corners_fixedsize() [all …]
|
D | schur_complex.cpp | 23 VERIFY_IS_EQUAL(schurOfA.info(), Success); in schur() 45 VERIFY_IS_EQUAL(cs1.info(), Success); in schur() 46 VERIFY_IS_EQUAL(cs2.info(), Success); in schur() 47 VERIFY_IS_EQUAL(cs1.matrixT(), cs2.matrixT()); in schur() 48 VERIFY_IS_EQUAL(cs1.matrixU(), cs2.matrixU()); in schur() 53 VERIFY_IS_EQUAL(cs3.info(), Success); in schur() 54 VERIFY_IS_EQUAL(cs3.matrixT(), cs1.matrixT()); in schur() 55 VERIFY_IS_EQUAL(cs3.matrixU(), cs1.matrixU()); in schur() 57 VERIFY_IS_EQUAL(cs3.info(), size > 1 ? NoConvergence : Success); in schur() 58 VERIFY_IS_EQUAL(cs3.getMaxIterations(), 1); in schur() [all …]
|
D | schur_real.cpp | 46 VERIFY_IS_EQUAL(schurOfA.info(), Success); in schur() 64 VERIFY_IS_EQUAL(rs1.info(), Success); in schur() 65 VERIFY_IS_EQUAL(rs2.info(), Success); in schur() 66 VERIFY_IS_EQUAL(rs1.matrixT(), rs2.matrixT()); in schur() 67 VERIFY_IS_EQUAL(rs1.matrixU(), rs2.matrixU()); in schur() 72 VERIFY_IS_EQUAL(rs3.info(), Success); in schur() 73 VERIFY_IS_EQUAL(rs3.matrixT(), rs1.matrixT()); in schur() 74 VERIFY_IS_EQUAL(rs3.matrixU(), rs1.matrixU()); in schur() 77 VERIFY_IS_EQUAL(rs3.info(), NoConvergence); in schur() 78 VERIFY_IS_EQUAL(rs3.getMaxIterations(), 1); in schur() [all …]
|