Searched refs:mat6 (Results 1 – 3 of 3) sorted by relevance
/external/eigen/unsupported/test/ |
D | cxx11_tensor_map.cpp | 218 TensorMap<TensorFixedSize<int, Sizes<2,3,7> > > mat6(mat5); in test_from_tensor() local 220 VERIFY_IS_EQUAL(mat6.rank(), 3); in test_from_tensor() 221 VERIFY_IS_EQUAL(mat6.size(), 2*3*7); in test_from_tensor() 222 VERIFY_IS_EQUAL(mat6.dimension(0), 2); in test_from_tensor() 223 VERIFY_IS_EQUAL(mat6.dimension(1), 3); in test_from_tensor() 224 VERIFY_IS_EQUAL(mat6.dimension(2), 7); in test_from_tensor() 230 VERIFY_IS_EQUAL(mat6(i,j,k), val); in test_from_tensor()
|
D | cxx11_tensor_contraction.cpp | 65 Tensor<float, 2, DataLayout> mat6(2,2); in test_evals() local 66 mat6.setZero(); in test_evals() 70 eval3.evalTo(mat6.data()); in test_evals() 75 VERIFY_IS_APPROX(mat6(0,0), mat1(0,0)*mat3(0,0) + mat1(0,1)*mat3(1,0) + mat1(0,2)*mat3(2,0)); in test_evals() 76 VERIFY_IS_APPROX(mat6(0,1), mat1(0,0)*mat3(0,1) + mat1(0,1)*mat3(1,1) + mat1(0,2)*mat3(2,1)); in test_evals() 77 VERIFY_IS_APPROX(mat6(1,0), mat1(1,0)*mat3(0,0) + mat1(1,1)*mat3(1,0) + mat1(1,2)*mat3(2,0)); in test_evals() 78 VERIFY_IS_APPROX(mat6(1,1), mat1(1,0)*mat3(0,1) + mat1(1,1)*mat3(1,1) + mat1(1,2)*mat3(2,1)); in test_evals() 143 Tensor<float, 1, DataLayout> mat6(2); in test_multidims() local 144 mat6.setZero(); in test_multidims() 148 eval2.evalTo(mat6.data()); in test_multidims() [all …]
|
D | cxx11_tensor_expr.cpp | 132 Tensor<float, 3, RowMajor> mat6(2,3,7); in test_3d() local 133 mat6 = mat2.pow(0.5f) * 3.14f; in test_3d() 152 VERIFY_IS_APPROX(mat6(i,j,k), sqrtf(val) * 3.14f); in test_3d()
|