Home
last modified time | relevance | path

Searched refs:CompressedRowSparseMatrix (Results 1 – 25 of 26) sorted by relevance

12

/external/ceres-solver/internal/ceres/
Dcompressed_row_sparse_matrix.h49 class CompressedRowSparseMatrix : public SparseMatrix {
57 explicit CompressedRowSparseMatrix(const TripletSparseMatrix& m);
70 CompressedRowSparseMatrix(int num_rows,
76 CompressedRowSparseMatrix(const double* diagonal, int num_rows);
78 virtual ~CompressedRowSparseMatrix();
101 void AppendRows(const CompressedRowSparseMatrix& m);
128 CompressedRowSparseMatrix* Transpose() const;
130 static CompressedRowSparseMatrix* CreateBlockDiagonalMatrix(
148 static CompressedRowSparseMatrix* CreateOuterProductMatrixAndProgram(
149 const CompressedRowSparseMatrix& m,
[all …]
Dcompressed_row_sparse_matrix.cc72 CompressedRowSparseMatrix::CompressedRowSparseMatrix(int num_rows, in CompressedRowSparseMatrix() function in ceres::internal::CompressedRowSparseMatrix
90 CompressedRowSparseMatrix::CompressedRowSparseMatrix( in CompressedRowSparseMatrix() function in ceres::internal::CompressedRowSparseMatrix
134 CompressedRowSparseMatrix::CompressedRowSparseMatrix(const double* diagonal, in CompressedRowSparseMatrix() function in ceres::internal::CompressedRowSparseMatrix
154 CompressedRowSparseMatrix::~CompressedRowSparseMatrix() { in ~CompressedRowSparseMatrix()
157 void CompressedRowSparseMatrix::SetZero() { in SetZero()
161 void CompressedRowSparseMatrix::RightMultiply(const double* x, in RightMultiply()
173 void CompressedRowSparseMatrix::LeftMultiply(const double* x, double* y) const { in LeftMultiply()
184 void CompressedRowSparseMatrix::SquaredColumnNorm(double* x) const { in SquaredColumnNorm()
193 void CompressedRowSparseMatrix::ScaleColumns(const double* scale) { in ScaleColumns()
201 void CompressedRowSparseMatrix::ToDenseMatrix(Matrix* dense_matrix) const { in ToDenseMatrix()
[all …]
Dsparse_normal_cholesky_solver.h52 class CompressedRowSparseMatrix; variable
63 CompressedRowSparseMatrix* A,
69 CompressedRowSparseMatrix* A,
75 CompressedRowSparseMatrix* A,
81 CompressedRowSparseMatrix* A,
101 scoped_ptr<CompressedRowSparseMatrix> outer_product_;
Dcompressed_row_sparse_matrix_test.cc78 crsm.reset(new CompressedRowSparseMatrix(*tsm)); in SetUp()
96 scoped_ptr<CompressedRowSparseMatrix> crsm;
160 CompressedRowSparseMatrix crsm_appendage(tsm_appendage); in TEST_F()
183 scoped_ptr<CompressedRowSparseMatrix> appendage( in TEST_F()
184 CompressedRowSparseMatrix::CreateBlockDiagonalMatrix( in TEST_F()
237 TEST(CompressedRowSparseMatrix, CreateBlockDiagonalMatrix) { in TEST() argument
248 scoped_ptr<CompressedRowSparseMatrix> matrix( in TEST()
249 CompressedRowSparseMatrix::CreateBlockDiagonalMatrix( in TEST()
282 matrix_.reset(new CompressedRowSparseMatrix(4, 4, 7)); in SetUp()
312 scoped_ptr<CompressedRowSparseMatrix> matrix_;
[all …]
Dsparse_normal_cholesky_solver.cc79 CompressedRowSparseMatrix* A, in SolveImpl()
91 scoped_ptr<CompressedRowSparseMatrix> regularizer; in SolveImpl()
93 regularizer.reset(CompressedRowSparseMatrix::CreateBlockDiagonalMatrix( in SolveImpl()
96 regularizer.reset(new CompressedRowSparseMatrix( in SolveImpl()
126 CompressedRowSparseMatrix* A, in SolveImplUsingEigen()
161 CompressedRowSparseMatrix::CreateOuterProductMatrixAndProgram( in SolveImplUsingEigen()
165 CompressedRowSparseMatrix::ComputeOuterProduct( in SolveImplUsingEigen()
223 CompressedRowSparseMatrix* A, in SolveImplUsingCXSparse()
259 CompressedRowSparseMatrix::CreateOuterProductMatrixAndProgram( in SolveImplUsingCXSparse()
263 CompressedRowSparseMatrix::ComputeOuterProduct( in SolveImplUsingCXSparse()
[all …]
Dincomplete_lq_factorization.cc45 inline double NormalizeRow(const int row, CompressedRowSparseMatrix* matrix) { in NormalizeRow()
65 inline double RowDotProduct(const CompressedRowSparseMatrix& a, in RowDotProduct()
67 const CompressedRowSparseMatrix& b, in RowDotProduct()
118 CompressedRowSparseMatrix* matrix) { in DropEntriesAndAddRow()
164 CompressedRowSparseMatrix* IncompleteLQFactorization( in IncompleteLQFactorization()
165 const CompressedRowSparseMatrix& matrix, in IncompleteLQFactorization()
176 CompressedRowSparseMatrix* l = in IncompleteLQFactorization()
177 new CompressedRowSparseMatrix(num_rows, in IncompleteLQFactorization()
182 CompressedRowSparseMatrix q(num_rows, num_cols, q_level_of_fill * num_rows); in IncompleteLQFactorization()
Dincomplete_lq_factorization_test.cc42 void ExpectMatricesAreEqual(const CompressedRowSparseMatrix& expected, in ExpectMatricesAreEqual()
43 const CompressedRowSparseMatrix& actual, in ExpectMatricesAreEqual()
58 CompressedRowSparseMatrix matrix(1, 1, 1); in TEST()
64 scoped_ptr<CompressedRowSparseMatrix> l( in TEST()
83 CompressedRowSparseMatrix matrix(10, 10, 100); in TEST()
102 scoped_ptr<CompressedRowSparseMatrix> lmatrix( in TEST()
122 CompressedRowSparseMatrix matrix(10, 10, 100); in TEST()
Dincomplete_lq_factorization.h66 CompressedRowSparseMatrix* IncompleteLQFactorization(
67 const CompressedRowSparseMatrix& matrix,
85 CompressedRowSparseMatrix* matrix);
Dcovariance_impl.h47 class CompressedRowSparseMatrix; variable
71 const CompressedRowSparseMatrix* covariance_matrix() const { in covariance_matrix()
83 scoped_ptr<CompressedRowSparseMatrix> covariance_matrix_;
Dcompressed_row_jacobian_writer.cc44 const Program* program, CompressedRowSparseMatrix* jacobian) { in PopulateJacobianRowAndColumnBlockVectors()
106 CompressedRowSparseMatrix* jacobian = in CreateJacobian()
107 new CompressedRowSparseMatrix( in CreateJacobian()
182 CompressedRowSparseMatrix* jacobian = in Write()
183 down_cast<CompressedRowSparseMatrix*>(base_jacobian); in Write()
Dcompressed_row_jacobian_writer.h42 class CompressedRowSparseMatrix; variable
65 CompressedRowSparseMatrix* jacobian);
Dcxsparse.h45 class CompressedRowSparseMatrix; variable
69 cs_di CreateSparseMatrixTransposeView(CompressedRowSparseMatrix* A);
Dsuitesparse.h76 class CompressedRowSparseMatrix; variable
101 cholmod_sparse CreateSparseMatrixTransposeView(CompressedRowSparseMatrix* A);
Ddynamic_compressed_row_sparse_matrix.h49 class DynamicCompressedRowSparseMatrix : public CompressedRowSparseMatrix {
Ddynamic_compressed_row_sparse_matrix_test.cc109 crsm.reset(new CompressedRowSparseMatrix(*tsm)); in InitialiseSparseMatrixReferences()
169 scoped_ptr<CompressedRowSparseMatrix> crsm;
Dunsymmetric_linear_solver_test.cc74 CompressedRowSparseMatrix* crsm = new CompressedRowSparseMatrix(*A_); in TestSolver()
Ddynamic_compressed_row_sparse_matrix.cc41 : CompressedRowSparseMatrix(num_rows, in DynamicCompressedRowSparseMatrix()
Dpreconditioner.h156 typedef TypedPreconditioner<CompressedRowSparseMatrix> CompressedRowSparseMatrixPreconditioner; //…
Dlinear_solver.h353 typedef TypedLinearSolver<CompressedRowSparseMatrix> CompressedRowSparseMatrixSolver; // NOLINT
Dcxsparse.cc167 cs_di CXSparse::CreateSparseMatrixTransposeView(CompressedRowSparseMatrix* A) { in CreateSparseMatrixTransposeView()
Dsuitesparse.cc96 CompressedRowSparseMatrix* A) { in CreateSparseMatrixTransposeView()
Dproblem_impl.cc716 scoped_ptr<CompressedRowSparseMatrix> tmp_jacobian; in Evaluate()
719 down_cast<CompressedRowSparseMatrix*>(evaluator->CreateJacobian())); in Evaluate()
Dschur_complement_solver.cc469 CompressedRowSparseMatrix crsm(*tsm); in SolveReducedLinearSystemUsingEigen()
Dcovariance_test.cc101 const CompressedRowSparseMatrix* crsm = covariance_impl.covariance_matrix(); in TEST()
Dcovariance_impl.cc320 new CompressedRowSparseMatrix(num_rows, num_rows, num_nonzeros)); in ComputeCovarianceSparsity()

12