/external/ceres-solver/examples/ |
denoising.cc | 92 PGMImage<double>* solution) { 102 solution->MutablePixelFromLinearIndex(index)); 122 double* pixel = solution->MutablePixel(x + x_delta_indices[i], 138 // solution stays within [0, 255]. 139 void SolveProblem(Problem* problem, PGMImage<double>* solution) { 162 // Make the solution stay in [0, 255]. 163 for (int x = 0; x < solution->width(); ++x) { 164 for (int y = 0; y < solution->height(); ++y) { 165 *solution->MutablePixel(x, y) = 166 std::min(255.0, std::max(0.0, solution->Pixel(x, y))) [all...] |
/external/ceres-solver/internal/ceres/ |
compressed_col_sparse_matrix_utils.h | 66 // R * solution = rhs 87 // R' * solution = rhs 122 double* solution) { 123 fill(solution, solution + num_cols, 0.0); 124 solution[rhs_nonzero_index] = 1.0 / values[cols[rhs_nonzero_index + 1] - 1]; 131 solution[c] -= v * solution[r]; 133 solution[c] = solution[c] / values[cols[c + 1] - 1] [all...] |
schur_complement_solver.h | 136 double* solution) = 0; 157 double* solution); 171 double* solution); 173 double* solution); 175 double* solution); 177 double* solution);
|
line_search.cc | 346 FunctionSample solution, bracket_low, bracket_high; local 418 &solution, 419 summary) && !solution.value_is_valid) { 429 solution = 430 solution.value_is_valid && solution.value <= bracket_low.value 431 ? solution : bracket_low; 433 summary->optimal_step_size = solution.x; 637 // Returns true iff solution satisfies the strong Wolfe conditions. Otherwise, 639 // reaching max_num_iterations, solution is the step size amongst all thos [all...] |
schur_complement_solver.cc | 118 DenseSchurComplementSolver::SolveReducedLinearSystem(double* solution) { 148 VectorRef(solution, num_rows) = llt.solve(ConstVectorRef(rhs(), num_rows)); 150 VectorRef(solution, num_rows) = ConstVectorRef(rhs(), num_rows); 154 solution, 252 SparseSchurComplementSolver::SolveReducedLinearSystem(double* solution) { 255 return SolveReducedLinearSystemUsingSuiteSparse(solution); 257 return SolveReducedLinearSystemUsingCXSparse(solution); 259 return SolveReducedLinearSystemUsingEigen(solution); 273 double* solution) { 368 VectorRef(solution, num_rows [all...] |
compressed_row_sparse_matrix.h | 125 void SolveLowerTriangularInPlace(double* solution) const; 126 void SolveLowerTriangularTransposeInPlace(double* solution) const;
|
implicit_schur_complement_test.cc | 74 Vector* solution) { 108 solution->resize(num_cols_); 109 solution->setZero(); 110 VectorRef schur_solution(solution->data() + num_cols_ - num_schur_rows, 114 schur_solution.data(), solution->data()); 160 // Reference solution to the f_block. 164 // Backsubstituted solution from the implicit schur solver using the 165 // reference solution to the f_block.
|
sparse_normal_cholesky_solver.cc | 363 cholmod_dense* solution = ss_.Solve(factor_, rhs, &summary.message); 367 if (solution != NULL) { 368 memcpy(rhs_and_solution, solution->x, num_cols * sizeof(*rhs_and_solution)); 369 ss_.Free(solution);
|
compressed_row_sparse_matrix.cc | 297 double* solution) const { 300 solution[r] -= values_[idx] * solution[cols_[idx]]; 302 solution[r] /= values_[rows_[r + 1] - 1]; 307 double* solution) const { 309 solution[r] /= values_[rows_[r + 1] - 1]; 311 solution[cols_[idx]] -= values_[idx] * solution[r];
|
compressed_col_sparse_matrix_utils_test.cc | 264 double solution[4]; local 276 solution); 278 EXPECT_NEAR(solution[j], expected[4 * i + j], 1e-3) << i;
|
covariance_impl.cc | 514 // is given by the solution to the linear system 539 double* solution = workspace.get() + thread_id * num_cols; local 546 solution); 549 values[idx] = solution[inverse_permutation[c]]; 702 // is given by the solution to the linear system 728 double* solution = workspace.get() + thread_id * num_cols; local 735 solution); 741 values[idx] = solution[inverse_permutation.indices().coeff(c)];
|
line_search.h | 84 // exact solution, the line search algorithm returns a solution 292 FunctionSample* solution,
|
visibility_based_preconditioner.cc | 468 cholmod_dense* solution = local 470 memcpy(y, solution->x, sizeof(*y) * num_rows); 471 ss->Free(solution);
|
/external/webrtc/ |
check_root_dir.py | 22 It looks like you have a legacy checkout where the solution's top-level 27 1. Edit your .gclient file and change the solution name from 'trunk' to 'src' 38 for solution in config_dict.get('solutions', []): 39 if solution['name'] == 'trunk': 41 if solution.get('custom_vars', {}).get('root_dir'): 43 'custom_vars dictionary of the solution.')
|
/build/core/combo/arch/arm/ |
armv5te.mk | 6 # and a better solution should be found in the future.
|
armv7-a.mk | 8 # and a better solution should be found in the future.
|
armv7-a-neon.mk | 46 # better solution comes around. See Bug 27340895
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
SplineMath.java | 116 double[] solution = new double[n]; // returned coefficients local 148 solution[n - 1] = result[n - 1] / system[n - 1][1]; 150 solution[i] = (result[i] - system[i][2] * solution[i + 1]) / system[i][1]; 152 return solution;
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
CellLayout.java | [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
CellLayout.java | [all...] |
/system/bt/osi/src/socket_utils/ |
README | 18 to provide a short-term solution eliminating libcutils dependency from
|
/external/opencv3/modules/photo/src/ |
calibrate.cpp | 125 Mat solution; local 126 solve(A, B, solution, DECOMP_SVD); 127 solution.rowRange(0, LDR_SIZE).copyTo(result_split[channel]);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/preferences/ |
AndroidPreferencePage.java | 145 CheckSdkErrorHandler.Solution solution, 153 CheckSdkErrorHandler.Solution solution,
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
Spline.java | 352 double[] solution = new double[n]; // returned coefficients local 384 solution[n - 1] = result[n - 1] / system[n - 1][1]; 386 solution[i] = (result[i] - system[i][2] * solution[i + 1]) / system[i][1]; 388 return solution;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/ |
AdtPlugin.java | 29 import com.android.ide.eclipse.adt.AdtPlugin.CheckSdkErrorHandler.Solution; 181 public enum Solution { 192 public abstract boolean handleError(Solution solution, String message); 198 public abstract boolean handleWarning(Solution solution, String message); [all...] |