/external/eigen/unsupported/test/ |
D | cxx11_tensor_contraction.cpp | 26 mat1.setRandom(); in test_evals() 27 mat2.setRandom(); in test_evals() 28 mat3.setRandom(); in test_evals() 87 vec1.setRandom(); in test_scalar() 88 vec2.setRandom(); in test_scalar() 106 mat1.setRandom(); in test_multidims() 107 mat2.setRandom(); in test_multidims() 140 mat4.setRandom(); in test_multidims() 141 mat5.setRandom(); in test_multidims() 162 t1.setRandom(); in test_holes() [all …]
|
D | openglsupport.cpp | 32 TYPE value; value.setRandom(); \ 140 Matrix4f mf44; mf44.setRandom(); in test_openglsupport() 143 Matrix4d md44; md44.setRandom(); in test_openglsupport() 155 Transform<float,3,AffineCompact> acf3; acf3.matrix().setRandom(); in test_openglsupport() 163 Transform<float,3,Projective> pf3; pf3.matrix().setRandom(); in test_openglsupport() 167 Transform<double,3,AffineCompact> acd3; acd3.matrix().setRandom(); in test_openglsupport() 175 Transform<double,3,Projective> pd3; pd3.matrix().setRandom(); in test_openglsupport() 181 Vector2f vf2; vf2.setRandom(); Vector3f vf23; vf23 << vf2, 0; in test_openglsupport() 183 Vector2d vd2; vd2.setRandom(); Vector3d vd23; vd23 << vd2, 0; in test_openglsupport() 186 Vector3f vf3; vf3.setRandom(); in test_openglsupport() [all …]
|
D | cxx11_tensor_of_complex.cpp | 39 data1.setRandom(); in test_abs() 40 data2.setRandom(); in test_abs() 56 data1.setRandom(); in test_conjugate() 57 data2.setRandom(); in test_conjugate() 58 data3.setRandom(); in test_conjugate() 76 t_left.setRandom(); in test_contractions() 77 t_right.setRandom(); in test_contractions()
|
D | cxx11_tensor_concatenation.cpp | 21 left.setRandom(); in test_dimension_failures() 22 right.setRandom(); in test_dimension_failures() 61 left.setRandom(); in test_simple_concatenation() 62 right.setRandom(); in test_simple_concatenation() 110 t1.setRandom(); in test_concatenation_as_lvalue() 111 t2.setRandom(); in test_concatenation_as_lvalue() 114 result.setRandom(); in test_concatenation_as_lvalue()
|
D | cxx11_tensor_ref.cpp | 20 input.setRandom(); in test_simple_lvalue_ref() 51 input1.setRandom(); in test_simple_rvalue_ref() 53 input2.setRandom(); in test_simple_rvalue_ref() 73 input.setRandom(); in test_multiple_dims() 94 tensor.setRandom(); in test_slice() 122 input.setRandom(); in test_ref_of_ref() 153 input.setRandom(); in test_ref_in_expr() 157 result.setRandom(); in test_ref_in_expr() 161 bias.setRandom(); in test_ref_in_expr() 187 tensor.setRandom(); in test_coeff_ref() [all …]
|
D | cxx11_tensor_casts.cpp | 22 chartensor.setRandom(); in test_simple_cast() 24 cplextensor.setRandom(); in test_simple_cast() 43 ftensor.setRandom(); in test_vectorized_cast() 45 dtensor.setRandom(); in test_vectorized_cast() 81 dtensor.setRandom(); in test_big_to_small_type_cast() 96 ftensor.setRandom(); in test_small_to_big_type_cast()
|
D | cxx11_tensor_sugar.cpp | 13 t.setRandom(); in test_comparison_sugar() 39 A.setRandom(); in test_scalar_sugar_add_mul() 40 B.setRandom(); in test_scalar_sugar_add_mul() 59 A.setRandom(); in test_scalar_sugar_sub_div() 60 B.setRandom(); in test_scalar_sugar_sub_div()
|
D | cxx11_tensor_morphing.cpp | 20 tensor1.setRandom(); in test_simple_reshape() 48 m1.setRandom(); in test_reshape_in_expr() 49 m2.setRandom(); in test_reshape_in_expr() 73 tensor.setRandom(); in test_reshape_as_lvalue() 97 tensor.setRandom(); in test_simple_slice() 134 m1.setRandom(); in test_slice_in_expr() 135 m2.setRandom(); in test_slice_in_expr() 170 tensor1.setRandom(); in test_slice_as_lvalue() 172 tensor2.setRandom(); in test_slice_as_lvalue() 174 tensor3.setRandom(); in test_slice_as_lvalue() [all …]
|
D | cxx11_tensor_thread_pool.cpp | 26 in1.setRandom(); in test_multithread_elementwise() 27 in2.setRandom(); in test_multithread_elementwise() 49 in1.setRandom(); in test_multithread_compound_assignment() 50 in2.setRandom(); in test_multithread_compound_assignment() 73 t_left.setRandom(); in test_multithread_contraction() 74 t_right.setRandom(); in test_multithread_contraction() 206 left.setRandom(); in test_multithread_contraction_agrees_with_singlethread() 207 right.setRandom(); in test_multithread_contraction_agrees_with_singlethread() 245 left.setRandom(); in test_full_contraction() 246 right.setRandom(); in test_full_contraction() [all …]
|
D | cxx11_tensor_chipping.cpp | 20 tensor.setRandom(); in test_simple_chip() 105 tensor.setRandom(); in test_dynamic_chip() 187 input1.setRandom(); in test_chip_in_expr() 189 input2.setRandom(); in test_chip_in_expr() 204 input3.setRandom(); in test_chip_in_expr() 220 input1.setRandom(); in test_chip_as_lvalue() 223 input2.setRandom(); in test_chip_as_lvalue() 243 input3.setRandom(); in test_chip_as_lvalue() 263 input4.setRandom(); in test_chip_as_lvalue() 283 input5.setRandom(); in test_chip_as_lvalue() [all …]
|
D | cxx11_tensor_convolution.cpp | 23 input.setRandom(); in test_evals() 24 kernel.setRandom(); in test_evals() 50 input.setRandom(); in test_expr() 51 kernel.setRandom(); in test_expr() 119 input.setRandom(); in test_strides() 120 kernel.setRandom(); in test_strides()
|
D | cxx11_tensor_custom_index.cpp | 25 tensor.setRandom(); in test_map_as_index() 47 tensor.setRandom(); in test_matrix_as_index() 65 tensor.setRandom(); in test_varlist_as_index() 80 tensor.setRandom(); in test_sizes_as_index()
|
D | cxx11_tensor_argmax.cpp | 23 tensor.setRandom(); in test_simple_index_tuples() 40 tensor.setRandom(); in test_index_tuples_dim() 58 tensor.setRandom(); in test_argmax_tuple_reducer() 90 tensor.setRandom(); in test_argmin_tuple_reducer() 122 tensor.setRandom(); in test_simple_argmax() 143 tensor.setRandom(); in test_simple_argmin() 167 tensor.setRandom(); in test_argmax_dim() 225 tensor.setRandom(); in test_argmin_dim()
|
D | cxx11_tensor_broadcasting.cpp | 20 tensor.setRandom(); in test_simple_broadcasting() 73 tensor.setRandom(); in test_vectorized_broadcasting() 95 tensor.setRandom(); in test_vectorized_broadcasting() 116 tensor.setRandom(); in test_static_broadcasting() 143 tensor.setRandom(); in test_static_broadcasting() 166 t1.setRandom(); in test_fixed_size_broadcasting()
|
D | cxx11_tensor_comparisons.cpp | 26 mat1.setRandom(); in test_orderings() 27 mat2.setRandom(); in test_orderings() 52 mat1.setRandom(); in test_equality() 53 mat2.setRandom(); in test_equality()
|
D | cxx11_tensor_reduction.cpp | 21 tensor.setRandom(); in test_trivial_reductions() 30 tensor.setRandom(); in test_trivial_reductions() 42 tensor.setRandom(); in test_trivial_reductions() 59 tensor.setRandom(); in test_simple_reductions() 246 tensor.setRandom(); in test_reductions_in_expr() 272 tensor.setRandom(); in test_full_reductions() 314 tensor.setRandom(); in test_user_defined_reductions() 340 tensor_map.setRandom(); in test_tensor_maps() 369 in.setRandom(); in test_static_dims() 398 in.setRandom(); in test_innermost_last_dims() [all …]
|
D | cxx11_tensor_random.cpp | 17 vec.setRandom(); in test_default() 29 vec.setRandom<Eigen::internal::NormalRandomGenerator<float>>(); in test_normal() 66 vec.setRandom<MyGenerator>(); in test_custom()
|
/external/eigen/test/ |
D | evaluators.cpp | 152 a.setRandom(); in test_evaluators() 153 b.setRandom(); in test_evaluators() 154 c.setRandom(); in test_evaluators() 155 d.setRandom(); in test_evaluators() 185 Matrix<float, 1, 1> m11, res11; m11.setRandom(1,1); in test_evaluators() 186 Matrix<float, 1, 4> m14, res14; m14.setRandom(1,4); in test_evaluators() 187 Matrix<float, 1,Dynamic> m1X, res1X; m1X.setRandom(1,s); in test_evaluators() 188 Matrix<float, 4, 1> m41, res41; m41.setRandom(4,1); in test_evaluators() 189 Matrix<float, 4, 4> m44, res44; m44.setRandom(4,4); in test_evaluators() 190 Matrix<float, 4,Dynamic> m4X, res4X; m4X.setRandom(4,s); in test_evaluators() [all …]
|
D | product_small.cpp | 20 matAstatic.setRandom(); in product1x1() 21 matBstatic.setRandom(); in product1x1() 27 matAdynamic.setRandom(); in product1x1() 28 matBdynamic.setRandom(); in product1x1() 52 Matrix<T,Rows,Depth,OA> A(rows,depth); A.setRandom(); in test_lazy_single() 53 Matrix<T,Depth,Cols,OB> B(depth,cols); B.setRandom(); in test_lazy_single() 54 Matrix<T,Rows,Cols,OC> C(rows,cols); C.setRandom(); in test_lazy_single() 191 Matrix<T,N,M+1> A; A.setRandom(n,m+1); in test_linear_but_not_vectorizable() 192 Matrix<T,M*2,K> B; B.setRandom(m*2,k); in test_linear_but_not_vectorizable() 202 Matrix<T,M+1,N,RowMajor> A; A.setRandom(m+1,n); in test_linear_but_not_vectorizable() [all …]
|
D | product_trsolve.cpp | 13 (XB).setRandom(); ref = (XB); \ 16 (XB).setRandom(); ref = (XB); \ 22 (XB).setRandom(); ref = (XB); \ 25 (XB).setRandom(); ref = (XB); \ 43 …cmLhs.setRandom(); cmLhs *= static_cast<RealScalar>(0.1); cmLhs.diagonal().array() += static_cast<… in trsolve() 44 …rmLhs.setRandom(); rmLhs *= static_cast<RealScalar>(0.1); rmLhs.diagonal().array() += static_cast<… in trsolve()
|
D | product_mmtr.cpp | 39 MatrixColMaj soc(size,othersize); soc.setRandom(); in mmtr() 40 MatrixColMaj osc(othersize,size); osc.setRandom(); in mmtr() 41 MatrixRowMaj sor(size,othersize); sor.setRandom(); in mmtr() 42 MatrixRowMaj osr(othersize,size); osr.setRandom(); in mmtr() 43 MatrixColMaj sqc(size,size); sqc.setRandom(); in mmtr() 44 MatrixRowMaj sqr(size,size); sqr.setRandom(); in mmtr()
|
D | commainitializer.cpp | 19 Matrix<int, M1, N1> mat11; mat11.setRandom(); in test_blocks() 20 Matrix<int, M1, N2> mat12; mat12.setRandom(); in test_blocks() 21 Matrix<int, M2, N1> mat21; mat21.setRandom(); in test_blocks() 22 Matrix<int, M2, N2> mat22; mat22.setRandom(); in test_blocks()
|
D | product_large.cpp | 19 VectorType x(cols); x.setRandom(); in test_aliasing() 22 MatrixType A(rows,cols); A.setRandom(); in test_aliasing() 79 MatrixXf mat1(10,32); mat1.setRandom(); in test_product_large() 80 MatrixXf mat2(32,32); mat2.setRandom(); in test_product_large() 90 A.setRandom(); in test_product_large()
|
/external/eigen/bench/ |
D | bench_gemm.cpp | 211 A a(m,p); a.setRandom(); in main() 212 B b(p,n); b.setRandom(); in main() 298 M ar(m,p); ar.setRandom(); in main() 299 M ai(m,p); ai.setRandom(); in main() 300 M br(p,n); br.setRandom(); in main() 301 M bi(p,n); bi.setRandom(); in main() 302 M cr(m,n); cr.setRandom(); in main() 303 M ci(m,n); ci.setRandom(); in main() 312 M a(m,p); a.setRandom(); in main() 313 M br(p,n); br.setRandom(); in main() [all …]
|
/external/eigen/Eigen/src/Core/ |
D | Random.h | 131 inline Derived& DenseBase<Derived>::setRandom() 151 PlainObjectBase<Derived>::setRandom(Index newSize) 154 return setRandom(); 174 PlainObjectBase<Derived>::setRandom(Index rows, Index cols) 177 return setRandom();
|