/external/eigen/doc/snippets/ |
H A D | Tutorial_commainit_02.cpp | 1 int rows=5, cols=5; variable 2 MatrixXf m(rows,cols); 5 MatrixXf::Zero(rows-3,3), 6 MatrixXf::Identity(rows-3,cols-3);
|
/external/eigen/doc/examples/ |
H A D | class_Block.cpp | 8 topLeftCorner(MatrixBase<Derived>& m, int rows, int cols) argument 10 return Eigen::Block<Derived>(m.derived(), 0, 0, rows, cols); 15 topLeftCorner(const MatrixBase<Derived>& m, int rows, int cols) argument 17 return Eigen::Block<const Derived>(m.derived(), 0, 0, rows, cols);
|
/external/eigen/failtest/ |
H A D | map_nonconst_ctor_on_const_ptr_2.cpp | 11 void foo(CV_QUALIFIER float *ptr, DenseIndex rows, DenseIndex cols){ argument 12 Map<MatrixXf> m(ptr, rows, cols);
|
H A D | map_nonconst_ctor_on_const_ptr_3.cpp | 11 void foo(CV_QUALIFIER float *ptr, DenseIndex rows, DenseIndex cols){ argument 12 Map<MatrixXf, Aligned, InnerStride<2> > m(ptr, rows, cols, InnerStride<2>());
|
H A D | map_nonconst_ctor_on_const_ptr_4.cpp | 11 void foo(const float *ptr, DenseIndex rows, DenseIndex cols){ argument 12 Map<CV_QUALIFIER MatrixXf, Unaligned, OuterStride<> > m(ptr, rows, cols, OuterStride<>(2));
|
/external/ceres-solver/include/ceres/ |
H A D | crs_matrix.h | 48 // rows, cols and values. 50 // rows is a num_rows + 1 sized array that points into the cols and 53 // cols[rows[i]] ... cols[rows[i + 1] - 1] are the indices of the 56 // values[rows[i]] .. values[rows[i + 1] - 1] are the values of the 72 // rows = [ 0, 2, 5, 7] 77 vector<int> rows; member in struct:ceres::CRSMatrix
|
/external/chromium_org/third_party/WebKit/Source/modules/webdatabase/ |
H A D | SQLResultSet.cpp | 49 // If the query didn't result in any rows being added, raise an InvalidAccessError exception 62 SQLResultSetRowList* SQLResultSet::rows() const function in class:WebCore::SQLResultSet
|
H A D | SQLStatementSync.cpp | 100 SQLResultSetRowList* rows = resultSet->rows(); local 103 rows->addColumn(statement.getColumnName(i)); 107 rows->addResult(statement.getColumnValue(i));
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/custom/ |
H A D | CustomFilterMesh.cpp | 38 CustomFilterMesh::CustomFilterMesh(GraphicsContext3D* context, unsigned columns, unsigned rows, argument 46 CustomFilterMeshGenerator generator(columns, rows, meshBox, meshType);
|
/external/eigen/doc/ |
H A D | tutorial.cpp | 27 int rows = 3, cols = 3; local
|
/external/eigen/test/ |
H A D | conservative_resize.cpp | 40 const Index rows = internal::random<Index>(1,50); local 43 m.conservativeResize(rows,cols); 44 VERIFY_IS_APPROX(m, n.block(0,0,rows,cols)); 50 const Index rows = internal::random<Index>(50,75); local 53 m.conservativeResizeLike(MatrixType::Zero(rows,cols)); 54 VERIFY_IS_APPROX(m.block(0,0,n.rows(),n.cols()), n); 55 VERIFY( rows<=50 || m.block(50,0,rows-50,cols).sum() == Scalar(0) ); 56 VERIFY( cols<=50 || m.block(0,50,rows,cols-50).sum() == Scalar(0) );
|
H A D | upperbidiagonalization.cpp | 15 const typename MatrixType::Index rows = m.rows(); local 21 MatrixType a = MatrixType::Random(rows,cols); 23 RealMatrixType b(rows, cols);
|
H A D | bandmatrix.cpp | 19 Index rows = _m.rows(); local 24 MatrixType m(rows,cols,supers,subs); 26 DenseMatrixType dm1(rows,cols); 49 Index d = (std::min)(rows,cols); 51 Index b = std::max<Index>(0,rows-d-subs); 52 if(a>0) dm1.block(0,d+supers,rows,a).setZero(); 54 dm1.block(subs+1,0,rows-subs-1-b,rows-subs-1-b).template triangularView<Lower>().setZero(); 68 Index rows local [all...] |
H A D | corners.cpp | 19 Index rows = m.rows(); local 22 Index r = internal::random<Index>(1,rows); 25 MatrixType matrix = MatrixType::Random(rows,cols); 26 const MatrixType const_matrix = MatrixType::Random(rows,cols); 30 COMPARE_CORNER(bottomLeftCorner(r,c), block(rows-r,0,r,c)); 31 COMPARE_CORNER(bottomRightCorner(r,c), block(rows-r,cols-c,r,c)); 33 Index sr = internal::random<Index>(1,rows) - 1; 34 Index nr = internal::random<Index>(1,rows-sr); 40 COMPARE_CORNER(bottomRows(r), block(rows 52 rows = MatrixType::RowsAtCompileTime, enumerator in enum:__anon18300 [all...] |
/external/eigen/test/eigen2/ |
H A D | eigen2_qr.cpp | 18 int rows = m.rows(); local 25 MatrixType a = MatrixType::Random(rows,cols); 28 VERIFY_IS_NOT_APPROX(a+MatrixType::Identity(rows, cols), qrOfA.matrixQ() * qrOfA.matrixR());
|
/external/eigen/unsupported/test/ |
H A D | kronecker_product.cpp | 18 void check_dimension(const MatrixType& ab, const unsigned int rows, const unsigned int cols) argument 20 VERIFY_IS_EQUAL(ab.rows(), rows); 28 VERIFY_IS_EQUAL(ab.rows(), 6); 73 VERIFY_IS_EQUAL(ab.rows(), 12);
|
/external/ceres-solver/internal/ceres/ |
H A D | compressed_col_sparse_matrix_utils.h | 71 const IntegerType* rows, 78 const IntegerType r = rows[idx]; 92 const IntegerType* rows, 98 const IntegerType r = rows[idx]; 118 const IntegerType* rows, 128 const IntegerType r = rows[idx]; 136 SolveUpperTriangularInPlace(num_cols, rows, cols, values, solution); 70 SolveUpperTriangularInPlace(IntegerType num_cols, const IntegerType* rows, const IntegerType* cols, const double* values, double* rhs_and_solution) argument 91 SolveUpperTriangularTransposeInPlace(IntegerType num_cols, const IntegerType* rows, const IntegerType* cols, const double* values, double* rhs_and_solution) argument 117 SolveRTRWithSparseRHS(IntegerType num_cols, const IntegerType* rows, const IntegerType* cols, const double* values, const int rhs_nonzero_index, double* solution) argument
|
H A D | incomplete_lq_factorization_test.cc | 48 EXPECT_EQ(expected.rows()[i], actual.rows()[i]); 84 int* rows = matrix.mutable_rows(); local 90 rows[i] = idx; 100 rows[10] = idx; 148 for (int idx = matrix.rows()[1]; idx < matrix.rows()[2]; ++idx) { 149 EXPECT_EQ(matrix.cols()[idx], idx - matrix.rows()[1]); 150 EXPECT_EQ(matrix.values()[idx], dense_vector(idx - matrix.rows()[1])); 159 EXPECT_EQ(matrix.cols()[matrix.rows()[ [all...] |
/external/chromium/chrome/browser/geolocation/ |
H A D | geolocation_exceptions_table_model_unittest.cc | 65 GeolocationExceptionsTableModel::Rows rows; local 66 rows.insert(0U); 67 EXPECT_TRUE(model_->CanRemoveRows(rows)); 76 EXPECT_FALSE(model_->CanRemoveRows(rows)); 79 rows.clear(); 80 rows.insert(1U); 81 rows.insert(2U); 82 EXPECT_TRUE(model_->CanRemoveRows(rows)); 91 GeolocationExceptionsTableModel::Rows rows; local 92 rows [all...] |
/external/chromium/chrome/browser/notifications/ |
H A D | notification_exceptions_table_model_unittest.cc | 109 RemoveRowsTableModel::Rows rows; local 110 rows.insert(0); // allowed.com 111 rows.insert(3); // e-allowed2.com 112 model_->RemoveRows(rows); 119 RemoveRowsTableModel::Rows rows; local 120 rows.insert(0); 121 rows.insert(1); 122 rows.insert(2); 123 model_->RemoveRows(rows);
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
H A D | u_linear.h | 63 unsigned rows; member in struct:pipe_tile_info 94 if (t->tile.size != t->block.size * t->cols * t->rows) 100 if (t->size < t->stride * t->rows * t->tiles_y)
|
/external/chromium_org/third_party/mesa/src/src/glsl/tests/ |
H A D | copy_constant_to_storage_tests.cpp | 40 void int_test(unsigned rows); 41 void uint_test(unsigned rows); 42 void bool_test(unsigned rows); 44 void float_test(unsigned columns, unsigned rows); 67 copy_constant_to_storage::int_test(unsigned rows) argument 70 generate_data(mem_ctx, GLSL_TYPE_INT, 1, rows, val); 86 copy_constant_to_storage::uint_test(unsigned rows) argument 89 generate_data(mem_ctx, GLSL_TYPE_UINT, 1, rows, val); 105 copy_constant_to_storage::float_test(unsigned columns, unsigned rows) argument 108 generate_data(mem_ctx, GLSL_TYPE_FLOAT, columns, rows, va 124 bool_test(unsigned rows) argument [all...] |
/external/eigen/Eigen/src/Core/ |
H A D | Random.h | 31 * The parameters \a rows and \a cols are the number of rows and of columns of 35 * it is redundant to pass \a rows and \a cols as arguments, so Random() should be used 49 DenseBase<Derived>::Random(Index rows, Index cols) argument 51 return NullaryExpr(rows, cols, internal::scalar_random_op<Scalar>()); 112 return *this = Random(rows(), cols()); 134 * \param rows the new number of rows 144 PlainObjectBase<Derived>::setRandom(Index rows, Index cols) argument 146 resize(rows, col [all...] |
/external/eigen/bench/ |
H A D | basicbenchmark.h | 43 const int rows = mat.rows(); local 46 MatrixType I(rows,cols); 47 MatrixType m(rows,cols);
|
H A D | sparse_transpose.cpp | 38 int rows = SIZE; local 42 EigenSparseMatrix sm1(rows,cols), sm3(rows,cols); 47 fillMatrix(density, rows, cols, sm1); 52 DenseMatrix m1(rows,cols), m3(rows,cols); 59 std::cout << "Non zeros: " << sm1.nonZeros()/float(sm1.rows()*sm1.cols())*100 << "%\n"; 81 GmmDynSparse gmmT3(rows,cols); 82 GmmSparse m1(rows,cols), m3(rows,col [all...] |