Home
last modified time | relevance | path

Searched refs:tsm (Results 1 – 12 of 12) sorted by relevance

/external/ceres-solver/internal/ceres/
Ddense_sparse_matrix_test.cc77 tsm.reset(down_cast<TripletSparseMatrix*>(problem->A.release())); in SetUp()
78 dsm.reset(new DenseSparseMatrix(*tsm)); in SetUp()
80 num_rows = tsm->num_rows(); in SetUp()
81 num_cols = tsm->num_cols(); in SetUp()
87 scoped_ptr<TripletSparseMatrix> tsm; member in ceres::internal::DenseSparseMatrixTest
92 CompareMatrices(tsm.get(), dsm.get()); in TEST_F()
103 tsm->RightMultiply(a.data(), b1.data()); in TEST_F()
117 tsm->LeftMultiply(a.data(), b1.data()); in TEST_F()
132 tsm->LeftMultiply(a.data(), b1.data()); in TEST_F()
142 tsm->SquaredColumnNorm(b1.data()); in TEST_F()
[all …]
Dcompressed_row_sparse_matrix_test.cc77 tsm.reset(down_cast<TripletSparseMatrix*>(problem->A.release())); in SetUp()
78 crsm.reset(new CompressedRowSparseMatrix(*tsm)); in SetUp()
80 num_rows = tsm->num_rows(); in SetUp()
81 num_cols = tsm->num_cols(); in SetUp()
95 scoped_ptr<TripletSparseMatrix> tsm; member in ceres::internal::CompressedRowSparseMatrixTest
100 CompareMatrices(tsm.get(), crsm.get()); in TEST_F()
111 tsm->LeftMultiply(a.data(), b1.data()); in TEST_F()
122 tsm->SquaredColumnNorm(b1.data()); in TEST_F()
134 tsm->ScaleColumns(scale.data()); in TEST_F()
136 CompareMatrices(tsm.get(), crsm.get()); in TEST_F()
[all …]
Ddynamic_compressed_row_sparse_matrix_test.cc97 tsm.reset(new TripletSparseMatrix(num_rows, in InitialiseSparseMatrixReferences()
100 std::copy(rows.begin(), rows.end(), tsm->mutable_rows()); in InitialiseSparseMatrixReferences()
101 std::copy(cols.begin(), cols.end(), tsm->mutable_cols()); in InitialiseSparseMatrixReferences()
102 std::copy(values.begin(), values.end(), tsm->mutable_values()); in InitialiseSparseMatrixReferences()
103 tsm->set_num_nonzeros(values.size()); in InitialiseSparseMatrixReferences()
106 tsm->ToDenseMatrix(&dense_from_tsm); in InitialiseSparseMatrixReferences()
109 crsm.reset(new CompressedRowSparseMatrix(*tsm)); in InitialiseSparseMatrixReferences()
168 scoped_ptr<TripletSparseMatrix> tsm; member in ceres::internal::DynamicCompressedRowSparseMatrixTest
Dcxsparse.cc179 cs_di* CXSparse::CreateSparseMatrix(TripletSparseMatrix* tsm) { in CreateSparseMatrix() argument
181 tsm_wrapper.nzmax = tsm->num_nonzeros(); in CreateSparseMatrix()
182 tsm_wrapper.nz = tsm->num_nonzeros(); in CreateSparseMatrix()
183 tsm_wrapper.m = tsm->num_rows(); in CreateSparseMatrix()
184 tsm_wrapper.n = tsm->num_cols(); in CreateSparseMatrix()
185 tsm_wrapper.p = tsm->mutable_cols(); in CreateSparseMatrix()
186 tsm_wrapper.i = tsm->mutable_rows(); in CreateSparseMatrix()
187 tsm_wrapper.x = tsm->mutable_values(); in CreateSparseMatrix()
Dprogram.cc387 TripletSparseMatrix* tsm = in CreateJacobianBlockSparsityTranspose() local
392 int* rows = tsm->mutable_rows(); in CreateJacobianBlockSparsityTranspose()
393 int* cols = tsm->mutable_cols(); in CreateJacobianBlockSparsityTranspose()
394 double* values = tsm->mutable_values(); in CreateJacobianBlockSparsityTranspose()
408 if (num_nonzeros >= tsm->max_num_nonzeros()) { in CreateJacobianBlockSparsityTranspose()
409 tsm->set_num_nonzeros(num_nonzeros); in CreateJacobianBlockSparsityTranspose()
410 tsm->Reserve(2 * num_nonzeros); in CreateJacobianBlockSparsityTranspose()
411 rows = tsm->mutable_rows(); in CreateJacobianBlockSparsityTranspose()
412 cols = tsm->mutable_cols(); in CreateJacobianBlockSparsityTranspose()
413 values = tsm->mutable_values(); in CreateJacobianBlockSparsityTranspose()
[all …]
Dcompressed_col_sparse_matrix_utils_test.cc133 TripletSparseMatrix tsm(5, 8, 18); in TEST() local
134 int* rows = tsm.mutable_rows(); in TEST()
135 int* cols = tsm.mutable_cols(); in TEST()
136 fill(tsm.mutable_values(), tsm.mutable_values() + 18, 1.0); in TEST()
152 tsm.set_num_nonzeros(offset); in TEST()
155 scoped_ptr<cholmod_sparse> ccsm(ss.CreateSparseMatrix(&tsm)); in TEST()
Dblock_random_access_diagonal_matrix_test.cc87 const TripletSparseMatrix* tsm = m.matrix(); in TEST() local
88 EXPECT_EQ(tsm->num_nonzeros(), num_nonzeros); in TEST()
89 EXPECT_EQ(tsm->max_num_nonzeros(), num_nonzeros); in TEST()
92 tsm->ToDenseMatrix(&dense); in TEST()
Dschur_complement_solver.cc290 TripletSparseMatrix* tsm = in SolveReducedLinearSystemUsingSuiteSparse()
293 const int num_rows = tsm->num_rows(); in SolveReducedLinearSystemUsingSuiteSparse()
310 cholmod_lhs = ss_.CreateSparseMatrix(tsm); in SolveReducedLinearSystemUsingSuiteSparse()
326 cholmod_lhs = ss_.CreateSparseMatrixTranspose(tsm); in SolveReducedLinearSystemUsingSuiteSparse()
398 TripletSparseMatrix* tsm = in SolveReducedLinearSystemUsingCXSparse()
401 const int num_rows = tsm->num_rows(); in SolveReducedLinearSystemUsingCXSparse()
409 cs_di* lhs = CHECK_NOTNULL(cxsparse_.CreateSparseMatrix(tsm)); in SolveReducedLinearSystemUsingCXSparse()
457 TripletSparseMatrix* tsm = in SolveReducedLinearSystemUsingEigen()
460 const int num_rows = tsm->num_rows(); in SolveReducedLinearSystemUsingEigen()
469 CompressedRowSparseMatrix crsm(*tsm); in SolveReducedLinearSystemUsingEigen()
Dblock_random_access_sparse_matrix_test.cc91 const TripletSparseMatrix* tsm = m.matrix(); in TEST() local
92 EXPECT_EQ(tsm->num_nonzeros(), num_nonzeros); in TEST()
93 EXPECT_EQ(tsm->max_num_nonzeros(), num_nonzeros); in TEST()
96 tsm->ToDenseMatrix(&dense); in TEST()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/android/view/
DTestMenu.java52 TestSubMenu tsm = new TestSubMenu(); in addSubMenu() local
56 menuItem.setSubMenu(tsm); in addSubMenu()
57 return tsm; in addSubMenu()
62 TestSubMenu tsm = new TestSubMenu(); in addSubMenu() local
66 menuItem.setSubMenu(tsm); in addSubMenu()
67 return tsm; in addSubMenu()
72 TestSubMenu tsm = new TestSubMenu(); in addSubMenu() local
77 menuItem.setSubMenu(tsm); in addSubMenu()
78 return tsm; in addSubMenu()
83 TestSubMenu tsm = new TestSubMenu(); in addSubMenu() local
[all …]
/external/chromium_org/content/browser/
Dgpu.sb10 (allow mach-lookup (global-name "com.apple.tsm.uiserver"))
/external/srec/config/en.us/dictionary/
Dlarge.ok21177 outsmart ?tsm)rt