HomeSort by relevance Sort by last modified time
    Searched refs:num_cols (Results 1 - 25 of 83) sorted by null

1 2 3 4

  /external/ceres-solver/include/ceres/
crs_matrix.h 42 CRSMatrix() : num_rows(0), num_cols(0) {}
45 int num_cols; member in struct:ceres::CRSMatrix
  /external/ceres-solver/internal/ceres/
lapack.h 58 static int EstimateWorkSizeForQR(int num_rows, int num_cols);
78 int num_cols,
normal_prior_test.cc 59 for (int num_cols = 1; num_cols < 5; ++num_cols) {
60 Vector b(num_cols);
63 Matrix A(num_rows, num_cols);
66 double * x = new double[num_cols];
67 for (int i = 0; i < num_cols; ++i)
70 double * jacobian = new double[num_rows * num_cols];
78 (residuals - A * (VectorRef(x, num_cols) - b)).squaredNorm();
82 MatrixRef J(jacobian, num_rows, num_cols);
    [all...]
blas.h 46 int num_cols,
linear_operator.h 53 virtual int num_cols() const = 0;
dense_sparse_matrix_test.cc 50 EXPECT_EQ(a->num_cols(), b->num_cols());
53 int num_cols = a->num_cols(); local
55 for (int i = 0; i < num_cols; ++i) {
56 Vector x = Vector::Zero(num_cols);
81 num_cols = tsm->num_cols();
85 int num_cols; member in class:ceres::internal::DenseSparseMatrixTest
96 Vector a(num_cols);
    [all...]
block_random_access_crs_matrix.cc 60 int num_cols = 0; local
62 col_layout_[i] = num_cols;
63 num_cols += blocks_[i];
76 VLOG(2) << "Matrix Size [" << num_cols
77 << "," << num_cols
80 crsm_.reset(new CompressedRowSparseMatrix(num_cols, num_cols, num_nonzeros));
98 int num_cols = 0; local
101 new CellInfo(values + num_cols);
103 num_cols += blocks_[it->second]
    [all...]
dense_normal_cholesky_solver.cc 72 const int num_cols = A->num_cols(); local
75 Matrix lhs(num_cols, num_cols);
91 ConstVectorRef D(per_solve_options.D, num_cols);
99 VectorRef(x, num_cols) =
118 const int num_cols = A->num_cols(); local
119 Matrix lhs(num_cols, num_cols);
    [all...]
blas.cc 49 int num_cols,
60 int n = transpose ? num_cols : num_rows;
61 int k = transpose ? num_rows : num_cols;
cgnr_linear_operator.h 98 int n = A_.num_cols();
108 virtual int num_rows() const { return A_.num_cols(); }
109 virtual int num_cols() const { return A_.num_cols(); } function in class:ceres::internal::CgnrLinearOperator
corrector.h 78 int num_cols,
evaluator_test_utils.h 40 int num_cols; member in struct:ceres::internal::ExpectedEvaluation
dense_sparse_matrix.cc 42 DenseSparseMatrix::DenseSparseMatrix(int num_rows, int num_cols)
45 m_.resize(num_rows, num_cols);
50 int num_cols,
56 m_.resize(num_rows + num_cols, num_cols);
58 m_.resize(num_rows, num_cols);
64 : m_(Eigen::MatrixXd::Zero(m.num_rows(), m.num_cols())),
88 VectorRef(y, num_rows()) += matrix() * ConstVectorRef(x, num_cols());
92 VectorRef(y, num_cols()) +=
97 VectorRef(x, num_cols()) = m_.colwise().squaredNorm()
136 int DenseSparseMatrix::num_cols() const { function in class:ceres::internal::DenseSparseMatrix
    [all...]
corrector.cc 113 int num_cols,
130 for (int c = 0; c < num_cols; ++c) {
133 r_transpose_j += jacobian[r * num_cols + c] * residuals[r];
137 jacobian[r * num_cols + c] = sqrt_rho1_ *
138 (jacobian[r * num_cols + c] -
dense_sparse_matrix.h 54 DenseSparseMatrix(int num_rows, int num_cols);
55 DenseSparseMatrix(int num_rows, int num_cols, bool reserve_diagonal);
68 virtual int num_cols() const;
block_sparse_matrix_test.cc 58 CHECK_EQ(A_->num_cols(), B_->num_cols());
74 for (int i = 0; i < A_->num_cols(); ++i) {
75 Vector x = Vector::Zero(A_->num_cols());
84 Vector y_a = Vector::Zero(A_->num_cols());
85 Vector y_b = Vector::Zero(A_->num_cols());
96 Vector y_a = Vector::Zero(A_->num_cols());
97 Vector y_b = Vector::Zero(A_->num_cols());
compressed_col_sparse_matrix_utils.h 70 void SolveUpperTriangularInPlace(IntegerType num_cols,
75 for (IntegerType c = num_cols - 1; c >= 0; --c) {
91 void SolveUpperTriangularTransposeInPlace(IntegerType num_cols,
96 for (IntegerType c = 0; c < num_cols; ++c) {
117 void SolveRTRWithSparseRHS(IntegerType num_cols,
123 fill(solution, solution + num_cols, 0.0);
126 for (IntegerType c = rhs_nonzero_index + 1; c < num_cols; ++c) {
136 SolveUpperTriangularInPlace(num_cols, rows, cols, values, solution);
dense_qr_solver.cc 71 const int num_cols = A->num_cols(); local
114 VectorRef(x, num_cols) = rhs_.head(num_cols);
132 const int num_cols = A->num_cols(); local
142 num_rows + ((per_solve_options.D != NULL) ? num_cols : 0);
151 VectorRef(x, num_cols) = A->matrix().householderQr().solve(rhs_);
block_random_access_matrix.h 126 virtual int num_cols() const = 0;
compressed_row_sparse_matrix.h 63 // num_rows, num_cols and max_num_nonzeros.
71 int num_cols,
90 virtual int num_cols() const { return num_cols_; } function in class:ceres::internal::CompressedRowSparseMatrix
120 void set_num_cols(const int num_cols) { num_cols_ = num_cols; }
sparse_matrix.h 100 virtual int num_cols() const = 0;
block_random_access_sparse_matrix.cc 56 int num_cols = 0; local
59 col_layout.push_back(num_cols);
60 num_cols += blocks_[i];
75 VLOG(1) << "Matrix Size [" << num_cols
76 << "," << num_cols
79 tsm_.reset(new TripletSparseMatrix(num_cols, num_cols, num_nonzeros));
compressed_row_sparse_matrix_test.cc 47 EXPECT_EQ(a->num_cols(), b->num_cols());
50 int num_cols = a->num_cols(); local
52 for (int i = 0; i < num_cols; ++i) {
53 Vector x = Vector::Zero(num_cols);
78 num_cols = tsm->num_cols();
82 int num_cols; member in class:ceres::internal::CompressedRowSparseMatrixTest
97 Vector b1 = Vector::Zero(num_cols);
    [all...]
sparse_normal_cholesky_solver.cc 105 const int num_cols = A->num_cols(); local
106 Vector Atb = Vector::Zero(num_cols);
112 CompressedRowSparseMatrix D(per_solve_options.D, num_cols);
116 VectorRef(x, num_cols).setZero();
133 A->DeleteRows(num_cols);
183 const int num_cols = A->num_cols(); local
185 Vector Atb = Vector::Zero(num_cols);
191 CompressedRowSparseMatrix D(per_solve_options.D, num_cols);
    [all...]
  /external/ceres-solver/include/ceres/internal/
eigen.h 65 template <int num_rows = Eigen::Dynamic, int num_cols = Eigen::Dynamic>
67 typedef Eigen::Matrix <double, num_rows, num_cols, Eigen::RowMajor>
71 Eigen::Matrix<double, num_rows, num_cols, Eigen::RowMajor> >
83 const Eigen::Matrix<double, num_rows, num_cols, Eigen::RowMajor> >

Completed in 191 milliseconds

1 2 3 4