/external/eigen/test/eigen2/ |
eigen2_product_large.cpp | 15 CALL_SUBTEST_1( product(MatrixXf(ei_random<int>(1,320), ei_random<int>(1,320))) ); 16 CALL_SUBTEST_2( product(MatrixXd(ei_random<int>(1,320), ei_random<int>(1,320))) ); 17 CALL_SUBTEST_3( product(MatrixXi(ei_random<int>(1,320), ei_random<int>(1,320))) ); 18 CALL_SUBTEST_4( product(MatrixXcf(ei_random<int>(1,50), ei_random<int>(1,50))) ); 19 CALL_SUBTEST_5( product(Matrix<float,Dynamic,Dynamic,RowMajor>(ei_random<int>(1,320), ei_random<int>(1,320))) ) [all...] |
eigen2_smallvectors.cpp | 17 Scalar x1 = ei_random<Scalar>(), 18 x2 = ei_random<Scalar>(), 19 x3 = ei_random<Scalar>(), 20 x4 = ei_random<Scalar>();
|
eigen2_lu.cpp | 19 RealScalar d = Eigen::ei_random<RealScalar>(-1,1); 20 int i = Eigen::ei_random<int>(0,m.rows()-1); // i is a random row number 23 j = Eigen::ei_random<int>(0,m.rows()-1); 27 i = Eigen::ei_random<int>(0,m.cols()-1); // i is a random column number 29 j = Eigen::ei_random<int>(0,m.cols()-1); 41 int rows = ei_random<int>(20,200), cols = ei_random<int>(20,200), cols2 = ei_random<int>(20,200); 42 int rank = ei_random<int>(1, std::min(rows, cols)-1); 83 int size = ei_random<int>(10,200) [all...] |
sparse.h | 57 Scalar v = (ei_random<double>(0,1) < density) ? ei_random<Scalar>() : Scalar(0); 60 v = ei_random<Scalar>()*Scalar(3.); 100 Scalar v = (ei_random<double>(0,1) < density) ? ei_random<Scalar>() : Scalar(0); 103 v = ei_random<Scalar>()*Scalar(3.); 141 Scalar v = (ei_random<double>(0,1) < density) ? ei_random<Scalar>() : Scalar(0);
|
eigen2_miscmatrices.cpp | 24 int r = ei_random<int>(0, rows-1), r2 = ei_random<int>(0, rows-1), c = ei_random<int>(0, cols-1);
|
eigen2_nomalloc.cpp | 35 Scalar s1 = ei_random<Scalar>(); 37 int r = ei_random<int>(0, rows-1), 38 c = ei_random<int>(0, cols-1);
|
eigen2_determinant.cpp | 25 Scalar x = ei_random<Scalar>(); 29 int i = ei_random<int>(0, size-1); 32 j = ei_random<int>(0, size-1);
|
eigen2_sparse_basic.cpp | 22 int i = ei_random<int>(0,remaining.size()-1); 38 int i = ei_random<int>(0,remaining.size()-1); 61 Scalar s1 = ei_random<Scalar>(); 87 int j = ei_random<int>(0,cols-1); 88 int i = ei_random<int>(0,rows-1); 89 int w = ei_random<int>(1,cols-j-1); 90 int h = ei_random<int>(1,rows-i-1); 146 // int i = ei_random<int>(0,remaining.size()-1); 175 int i = ei_random<int>(0,rows-1); 177 m2.fillrand(i,j) = m1(i,j) = ei_random<Scalar>() [all...] |
eigen2_adjoint.cpp | 38 Scalar s1 = ei_random<Scalar>(), 39 s2 = ei_random<Scalar>(); 65 int r = ei_random<int>(0, rows-1), 66 c = ei_random<int>(0, cols-1);
|
eigen2_linearstructure.cpp | 30 Scalar s1 = ei_random<Scalar>(); 31 while (ei_abs(s1)<1e-3) s1 = ei_random<Scalar>(); 33 int r = ei_random<int>(0, rows-1), 34 c = ei_random<int>(0, cols-1);
|
eigen2_parametrizedline.cpp | 36 Scalar s0 = ei_random<Scalar>(); 37 Scalar s1 = ei_abs(ei_random<Scalar>());
|
eigen2_submatrices.cpp | 59 Scalar s1 = ei_random<Scalar>(); 61 int r1 = ei_random<int>(0,rows-1); 62 int r2 = ei_random<int>(r1,rows-1); 63 int c1 = ei_random<int>(0,cols-1); 64 int c2 = ei_random<int>(c1,cols-1); 120 i = ei_random(0,rows-2);
|
eigen2_basicstuff.cpp | 30 Scalar x = ei_random<Scalar>(); 32 int r = ei_random<int>(0, rows-1), 33 c = ei_random<int>(0, cols-1);
|
eigen2_array.cpp | 30 Scalar s1 = ei_random<Scalar>(), 31 s2 = ei_random<Scalar>(); 61 int r = ei_random<int>(0, rows-1), 62 c = ei_random<int>(0, cols-1);
|
eigen2_hyperplane.cpp | 39 Scalar s0 = ei_random<Scalar>(); 40 Scalar s1 = ei_random<Scalar>(); 91 Scalar a = ei_random<Scalar>(); 92 while (ei_abs(a-1) < 1e-4) a = ei_random<Scalar>();
|
eigen2_map.cpp | 105 CALL_SUBTEST_4( map_class_matrix(MatrixXcf(ei_random<int>(1,10),ei_random<int>(1,10))) ); 106 CALL_SUBTEST_5( map_class_matrix(MatrixXi(ei_random<int>(1,10),ei_random<int>(1,10))) );
|
eigen2_visitor.cpp | 25 m(i) = ei_random<Scalar>(); 71 v(i) = ei_random<Scalar>();
|
eigen2_alignedbox.cpp | 28 RealScalar s1 = ei_random<RealScalar>(0,1);
|
product.h | 55 Scalar s1 = ei_random<Scalar>(); 57 int r = ei_random<int>(0, rows-1), 58 c = ei_random<int>(0, cols-1);
|
eigen2_cwiseop.cpp | 43 int r = ei_random<int>(0, rows-1), 44 c = ei_random<int>(0, cols-1); 46 Scalar s1 = ei_random<Scalar>();
|
eigen2_sparse_vector.cpp | 36 Scalar s1 = ei_random<Scalar>();
|
eigen2_packetmath.cpp | 55 data1[i] = ei_random<Scalar>(); 56 data2[i] = ei_random<Scalar>();
|
eigen2_regression.cpp | 27 hyperplane->coeffs().coeffRef(j) = ei_random<Scalar>();
|
eigen2_geometry.cpp | 46 Scalar a = ei_random<Scalar>(-Scalar(M_PI), Scalar(M_PI)); 136 a = ei_random<Scalar>(-Scalar(0.4)*Scalar(M_PI), Scalar(0.4)*Scalar(M_PI)); 192 Scalar a3 = ei_random<Scalar>(-Scalar(M_PI), Scalar(M_PI)); 382 Rotation2D<Scalar> r2d1(ei_random<Scalar>()); 389 // m.col(1) = Vector3(0,ei_random<Scalar>(),ei_random<Scalar>()).normalized(); 417 int i = ei_random<int>(0,2);
|
/external/eigen/Eigen/src/Eigen2Support/ |
MathFunctions.h | 27 template<typename T> inline T ei_random () { return internal::random<T>(); } function in namespace:Eigen 28 template<typename T> inline T ei_random (const T& x, const T& y) { return internal::random(x, y); } function in namespace:Eigen
|